Bug 217663

Summary: ntp update resets "Synchronize system clock" flag
Product: [Fedora] Fedora Reporter: Mary Ellen Foster <mefoster>
Component: dhcpAssignee: David Cantrell <dcantrell>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: mlichvar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: F-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-11 21:03:32 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:

Description Mary Ellen Foster 2006-11-29 09:13:57 UTC
Description of problem:
I generally bring up my network after I boot my laptop. I like to use ntp, but I
don't want it to do the initial "ntpdate" on boot because it'll always fail, so
I un-check the "Synchronize system clock before starting service" flag in
system-config-time. But every time there's a new version of ntp (as there was
yesterday), that flag gets reset and I get an ugly "FAILED" on boot again until
I rerun the configuration and uncheck it again.

Version-Release number of selected component (if applicable):
ntp-4.2.2p4-2.fc6

How reproducible:
Always

Steps to Reproduce:
1. Run system-config-time and uncheck the "Synchronize system clock before
starting service" advanced option
2. Update to a new version of ntp
  
Actual results:
Checkbox is checked again

Expected results:
Checkbox should stay unchecked

Comment 1 Miroslav Lichvar 2006-11-29 15:03:56 UTC
Hmm, weird. The ntp package has empty /etc/ntp/step-tickers file, the update of
ntp package shouldn't replace the empty file with something.

What is the content of the file?

Comment 2 Mary Ellen Foster 2006-11-29 15:10:38 UTC
Aha! Thanks for that; it's a bit clearer what might be going on.

Here's /etc/ntp/step-tickers:
=====

129.215.216.248
129.215.202.253
=====

Here's /etc/ntp/step-tickers.predhclient:
=====
=====
(yes, an empty file)

The two IP addresses in the above are local NTP servers that, I suspect, are
provided by the DHCP server at work where I plug in my laptop. Is this somehow
interacting with the ntp configuration?

Comment 3 Miroslav Lichvar 2006-11-29 15:32:06 UTC
Ok, dhclient is replacing the file.

Comment 4 David Cantrell 2006-11-29 17:00:02 UTC
I've fixed this problem and prepared an update for FC-6.  The new package is
dhcp-3.0.5-1.fc6.  It's currently available in the testing updates repository. 
Please test it out and let me know if it works so I can move it to final update
status:

http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/6/

Comment 5 David Cantrell 2008-01-11 21:03:32 UTC
Well, FC-6 is now end of life.  This fix has been incorporated in to both Fedora
7 and Fedora 8 as well as rawhide.