[CentOS] dhclient.conf being ignored!

Wed May 5 00:31:27 UTC 2010
Todd Denniston <Todd.Denniston at tsb.cranrdte.navy.mil>

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