
On 21.10.15 23:15, Russell Coker wrote:
On Wed, 21 Oct 2015 08:36:31 PM Erik Christiansen wrote:
On debian, the first thing I've found (prompted by this thread) is the "ntpdate" package. Its manpage describes invocation in a startup script, i.e. it's an alternative to ntpd. (And won't act if an ntpd is running.)
The Debian package ntp has the ntpd. It is built from the same source package as ntpdate. If you want to set the date from a cron job (or manually) then use ntpdate. Otherwise use ntp.
Darnit, the ntp package _is_ there. Many thanks. Have purged openntpd, and substituted ntp. The only remaining oddity is that ntpdate (when I give it a whirl) still doesn't seem able to obey its own conf file, to use /etc/ntp.conf: # ntpdate -d 21 Oct 23:44:12 ntpdate[8610]: ntpdate 4.2.6p5@1.2349-o Fri Apr 10 19:08:07 UTC 2015 (1) 21 Oct 23:44:12 ntpdate[8610]: no servers can be used, exiting despite: # grep NTP_CONF /etc/default/ntpdate NTPDATE_USE_NTP_CONF=yes and four (default) uncommented "server" lines in /etc/ntp.conf. Substituting four local servers makes no difference. It only seems to work when a server is specified on the command line. It's no showstopper, I just don't understand the failure. Erik