Bug 183196 - ntpdate uses wrong default keyfile path
Summary: ntpdate uses wrong default keyfile path
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: 4
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-27 12:40 UTC by Jan "Yenya" Kasprzak
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-19 08:31:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan "Yenya" Kasprzak 2006-02-27 12:40:59 UTC
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):
ntp-4.2.0.a.20040617-8


How reproducible:
100%

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"

Actual results:
ntpdate complains that there is no /etc/ntp.keys file
  
Expected results:
ntpdate should use the same default keyfile path as the rest of the ntp package.

Additional info:

Comment 1 Miroslav Lichvar 2006-05-19 08:31:37 UTC
Fixed in ntp-4.2.0.a.20050816-0.FC4.


Note You need to log in before you can comment on or make changes to this bug.