Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#18469 - [ntp] replace ntpdate usage with ntp -q
Attached to Project:
Arch Linux
Opened by Ray (ataraxia) - Friday, 26 February 2010, 03:07 GMT
Last edited by Kevin Piche (kpiche) - Thursday, 17 February 2011, 23:27 GMT
Opened by Ray (ataraxia) - Friday, 26 February 2010, 03:07 GMT
Last edited by Kevin Piche (kpiche) - Thursday, 17 February 2011, 23:27 GMT
|
DetailsAccording to ntpdate's man page, it's considered deprecated, and should be replaced by ntpd -q. Given that, I suggest changing the initscripts Arch ships with ntp.
Advantages: - we are in line with upstream's intentions - there is only one place to list timeservers (ntp.conf) instead of two (ntp.conf and conf.d/ntp-client) Disadvantages: - the script should be renamed from "ntpdate" to "ntp-client" so that it continues to make sense, which will catch the many users not paying attention - this new method seems to be a bit slower (10 seconds for ntpd -q vs 2 seconds for ntpdate) The patch I'm attaching does rename the script, which makes it look longer than it really is. I also have the "-q" flag hard-coded into the script, as without it, there's no point in running it at all. |
This task depends upon
Closed by Kevin Piche (kpiche)
Thursday, 17 February 2011, 23:27 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in ntp 4.2.6.p3-1
Thursday, 17 February 2011, 23:27 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in ntp 4.2.6.p3-1
Comment by Glenn Matthys (RedShift) -
Monday, 15 November 2010, 12:15 GMT
What's the status of this issue?
ntp-q.patch