[pkg-ntp-maintainers] Bug#552204: Bug#552204: ntpdate does not read servers from its config

Steve Kostecke kostecke at ntp.org
Sat Oct 24 13:42:21 UTC 2009


"Hans-J. Ullrich" said:

>it seems, ntpdate does not read the servers out of its config in
>/etc/default.

# ntpdate -h
ntpdate: unknown option -h
usage: ntpdate [-46bBdqsuv] [-a key#] [-e delay] [-k file] [-p samples]
[-o version#] [-t timeo] server ...

/usr/sbin/ntpdate reads its list of servers from the command line.

/usr/sbin/ntpdate-debian is a debian-specific shell script wrapper for
/usr/sbin/ntpdate. This wrapper passes the list of time servers to
ntpdate.

>Giving the single command "ntpdate" should work, but I get "no servers
>found", while doing "ntpdate ptbtime1.ptb.de" is correctly working.

That's the way it works.

-- 
Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project http://support.ntp.org/
Public Key at http://support.ntp.org/Users/SteveKostecke

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the pkg-ntp-maintainers mailing list