Bug 138682 - /sbin/dhclient-script specifies incorrect location for ntp driftfile
Summary: /sbin/dhclient-script specifies incorrect location for ntp driftfile
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: dhcp
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: David Cantrell
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-10 17:52 UTC by Daniel Thom
Modified: 2007-11-30 22:07 UTC (History)
0 users

Clone Of:
Last Closed: 2006-11-22 17:03:09 UTC

Attachments (Terms of Use)

Description Daniel Thom 2004-11-10 17:52:42 UTC
From Bugzilla Helper: 
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; x86_64) 
(KHTML, like Gecko) 
Description of problem: 
dhclient-script generated the following /etc/ntp.conf on my RHEL 3 
Update 3 machine: 
# generated by /sbin/dhclient-script 
restrict default ignore 
driftfile /etc/ntp/data/drift 
broadcastdelay 0.008 
authenticate yes 
keys /etc/ntp/keys 
restrict nomodify notrap noquery 
The driftfile location does not exist and is different from the 
default ntp.conf file which points to /var/lib/ntp/drift which does 
I checked my Fedora Core 3 Test 3 machine and it looks like the 
correct behavior happens there.  That is running dhclient-3.0.1-9. 
Version-Release number of selected component (if applicable): 
How reproducible: 
Steps to Reproduce: 
1. Configure eth0 for dhcp with a dhcp server that hands out NTP 
2. Run 'ifup eth0' 
3. Rinse and repeat. 
Additional info: 
The problem in dhclient-script is obvious and easily repaired as it 
just has the wrong string in the here document it writes to ntp.conf.

Comment 1 Jason Vas Dias 2004-11-10 18:46:10 UTC
 dhcp-3.0.1-10_EL3 is now the latest version of dhcp for RHEL-3 and
 is in RHEL-3-U4, and does not have this problem.
 It can also be downloaded from:

Comment 2 Daniel Thom 2004-11-10 20:43:28 UTC
Excellent, thanks for the info, sorry for the redundant bug!  One 
quick question though, is there currently a release version of this 
for RHEL-3?  I saw a beta on RHN (dhcp-3.0.1-10_EL3:7 Red Hat 
Enterprise Linux AS (v. 3 for x86) Beta), but not one marked as 

Comment 3 Jason Vas Dias 2004-11-10 21:19:07 UTC
 RHEL-3-U4 is still in 'beta' testing, so hence the 'beta' status
 of the dhcp-3.0.1-10_EL3 rpm you found, which is identical to the
 one available through this link:
 Quite a few customers have downloaded and are using this version.
 It's up to you whether to download and try it now or wait until
 RHEL-3-U4 is officially released.

Note You need to log in before you can comment on or make changes to this bug.