Red Hat Bugzilla – Bug 183196
ntpdate uses wrong default keyfile path
Last modified: 2007-11-30 17:11:25 EST
Description of problem:
The ntp package is distributed with /etc/ntp/keys file, and also in ntp.conf the
default keyfile points to this path. However, ntpdate without any option tries
to use the /etc/ntp.keys file.
This is just a minor/cosmetic bug, but I think it would be nice if the ntpdate
default would match the path used in the other parts of the package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. have a NTP server "time.server" with the key number 42 in /etc/ntp/keys
2. have the same key in /etc/ntp/keys on a client machine
3. on client, run "ntpdate -q -a 42 time.server"
ntpdate complains that there is no /etc/ntp.keys file
ntpdate should use the same default keyfile path as the rest of the ntp package.
Fixed in ntp-4.2.0.a.20050816-0.FC4.