Red Hat Bugzilla – Bug 108426
ntp drift file has incorrect path
Last modified: 2007-04-18 12:58:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031015
Description of problem:
The dhcpcd daemon writes an NTP configuration file when the DHCP server returns
the NTP information. One of the parameters in this file is the ntp driftfile.
However, the Red Hat patches to the NTP daemon (ntp-4.1.1-1.i386.rpm) change the
path of this file from the default /etc/ntp.drift to /etc/ntp/drift. This change
has been made only in the ntp sources, not in the dhcpcd sources.
The change that should be made:
in the file client.c, line 890:
Change the string "driftfile /etc/ntp.drift\n" to:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up a network interface to use DHCP.
2. Start the network interface.
3. Check /etc/ntp.conf, and see that it says "driftfile /etc/ntp.drift" instead
of "driftfile /etc/ntp/drift".
Fixed in 3.0pl2-6.16 in Rawhide.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.