dhclient.conf being ignored!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



It seems that the prominent North American Enterprise Linux vendor has decided that dhclient.conf
should be ignored, i.e. ifup-eth causes dhclient to be called with "-cf
/etc/dhclient-$(DEVICE).conf", and then ifup-eth/ifdown-eth wipes the file out each time.

Through the use of "DHCP_HOSTNAME" in ifcfg-eth0 you can specify a host name, but because of the
above behavior of ifup-eth other options don't seem to be able to be passed to dhclient.

I tried placing
supersede ntp-servers
into dhclient-up-hooks, but that also seems to be ignored, and my google fu seems to be failing on
how to build dhclient-enter-hooks for the purpose (if that would even help).

anyone got better suggestions than:
a) mod /etc/sysconfig/network-scripts/ifup-eth to build /etc/dhclient-$(DEVICE).conf combining the
options I want.
b) brute forcing things with `chattr +i /etc/ntp.conf`

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux