Red Hat Bugzilla – Bug 137717
ntptrace only supports -n
Last modified: 2007-11-30 17:10:53 EST
From Bugzilla Helper:
User-Agent: Opera/7.54 (X11; Linux i686; U) [en]
Description of problem:
According to the man page for ntptrace it should support the
-d Turns on some debugging output.
-n Turns off the printing of host names...
-r Retries Sets the number of retransmission attempts....
-t timeout Sets the retransmission timeout (in seconds)....
-v Prints verbose information about the NTP servers.
The only option which appears to work is -n. All others return the
This appears to be confirmed by looking at the ntptrace script. It
use vars qw($opt_n);
$ntpq = "ntpq";
$dodns = 1;
$dodns = 0 if (defined($opt_n));
$host = shift;
$host ||= "127.0.0.1";
So it seems to me that either ntptrace should be fixed to support
those options, or the man page should be corrected to list only those
options supported by ntptrace.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ntptrace -v
Actual Results: Returns unknown option
Expected Results: Returned verbose information
The implementation of ntptrace changed from a binary written in C to a Perl script, and the
documentation apparently hasn't followed.
However, Dr. Mills doesn't allow any man pages to be created for the NTP Project, so any
man pages you see are the result of some other project which has taken the HTML
documentation and formatted that as a man page. Looking at the HTML source for the
documentation on this command, I see that it hasn't been updated, either.
This has been noted on the bug at <http://bugzilla.ntp.org/show_bug.cgi?id=364>, but
the owner of that bug may decide to split it out.
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Fixed in rawhide.