Bug 426749
Summary: | An "-x" option in "/etc/sysconfig/ntpd" would be used contrariwise to what is indicated in the ntpd manpage | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | David Tonhofer <bughunt> | ||||||||
Component: | ntp | Assignee: | Miroslav Lichvar <mlichvar> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 4.6 | ||||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2010-03-19 09:58:57 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: | |||||||||||
Attachments: |
|
Description
David Tonhofer
2007-12-25 19:38:50 UTC
Created attachment 290380 [details]
Modified /etc/sysconfig/ntpd
Additional USE_NTPDATE and comments
Created attachment 290381 [details]
Modified /etc/rc.d/init.d/ntpd script
Created attachment 290382 [details]
Unified diff between RH ntpd script and mine
Comment on attachment 290380 [details]
Modified /etc/sysconfig/ntpd
# OPTIONS are passed to ntpd as is.
# Drop root to id 'ntp' by default. ntpd uses the primary
# group of the indicated user.
# The "-x" indicates that ntpd will always skew the clock.
# Replace "-x" by "-g -q" to implement the step-and-exit ntpdate behaviour.
OPTIONS="-u ntp -x -p /var/run/ntpd.pid"
# Use the (deprecated) ntpdate to step the clock to a correct
# value before running "ntpd"
USE_NTPDATE=no
# Set to 'yes' to sync hw clock after a successful "ntpdate"
# execution (only used if USE_NTPDATE=yes)
SYNC_HWCLOCK=no
Users generally want to run ntpdate or have -g in ntpd options when -x is used as it takes 2000 seconds to correct one second and the offset can be very large before ntpd is running. While I agree it's not very nice to modify the options before they are passed to ntpd, it's too late in RHEL4 life to make incompatible changes like you have proposed in the patch. A possibility is to add another setting to sysconfig/ntpd so -x will be ignored in the script. Would that be ok? As RHEL-4.9 is the last update for RHEL-4, which should address only security, performance and critical issues, I'm closing this bug as WONTFIX. If you are still experiencing this issue with RHEL-5, please reopen it against RHEL-5. If this issue is critical for you, please contact Red Hat support. |