Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 105893
Summary: | /etc/ntp/data directory does not exist | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Rodgers <hwstar> |
Component: | dhcp | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | mark_h_johnson, pmoore |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-08 14:12:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100644 |
Description
Steve Rodgers
2003-09-29 02:45:02 UTC
*** Bug 106374 has been marked as a duplicate of this bug. *** does dhcp modify your /etc/ntp.conf?? driftfile should be driftfile /var/lib/ntp/drift I guess I don't understand the question fully, but I'll provide some additional information. As I described in Bug 106374, the only steps performed was to... - install Fedora test 2 - as part of the settings, select NTP I don't see how dhcp has anything to do with where the ntp drift file goes. For a cross check, I looked at /etc/dhcpd.conf on our dhcp server and the *only* line with ntp on it is... option ntp-servers overlord, gsde-serv1, gsde-serv2; which IP addresses appear in /etc/ntpd.conf as part of... # generated by /sbin/dhclient-script restrict default ignore restrict 127.0.0.1 driftfile /etc/ntp/data/drift broadcastdelay 0.008 authenticate yes keys /etc/ntp/keys restrict 192.52.216.1 nomodify notrap noquery server 192.52.216.1 restrict 192.52.216.4 nomodify notrap noquery server 192.52.216.4 restrict 192.52.216.29 nomodify notrap noquery server 192.52.216.29 But there is a clue - #created by /sbin/dhclient-script. That file has the lines... grep ntp /sbin/dhclient-script elif [ -n "$new_ntp_servers" ] && [ -e /etc/ntp.conf ]; then save_previous /etc/ntp.conf cat <<EOF > /etc/ntp.conf driftfile /etc/ntp/data/drift keys /etc/ntp/keys save_previous /etc/ntp/step-tickers echo '# generated by /sbin/dhclient-script' > /etc/ntp/step-tickers for I in $new_ntp_servers; do echo "restrict $I nomodify notrap noquery" >> /etc/ntp.conf echo "server $I" >> /etc/ntp.conf echo "$I" >> /etc/ntp/step-tickers So I believe we have found the culprit. If you want it in /var - please change the scripts that set up ntp "make it so". changing component to dhcp Fixed in dhcp-3_0pl2-6_16 Should be in Rawhide shortly. Also occurs in RHEL 3. - problem is in the coding of /sbin/dhclient-script in dhclient-3.0p12-6.14 A fix should be sent through up2date for RHEL systems. 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. http://rhn.redhat.com/errata/RHBA-2004-566.html |