FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 05-05-2010, 12:31 AM
Todd Denniston
Default dhclient.conf being ignored!

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

Thread Tools

All times are GMT. The time now is 09:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org