Your message dated Tue, 18 Sep 2018 11:27:35 +0200
with message-id <[email protected]>
and subject line Closing ntpdate ifupdown related bugs, removed from Buster
has caused the Debian Bug report #788014,
regarding does not start at bootup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
788014: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788014
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ntp
Version: 1:4.2.6.p5+dfsg-7
Severity: important
Hi,
after upgrading this machine to jessie, ntpd does not start at boot.
This might be systemd related.
root@genshi:~# systemctl status ntp
● ntp.service - LSB: Start NTP daemon
Loaded: loaded (/etc/init.d/ntp)
Active: active (exited) since Sun 2015-06-07 21:18:52 CEST; 31min ago
Process: 616 ExecStart=/etc/init.d/ntp start (code=exited, status=0/SUCCESS)
Jun 07 21:18:52 genshi.die-welt.net ntpd[648]: ntpd [email protected] Fri Apr 10
19:04:04 UTC 2015 (1)
Jun 07 21:18:52 genshi.die-welt.net ntpd[650]: proto: precision = 0.161 usec
Jun 07 21:18:52 genshi.die-welt.net ntp[616]: Starting NTP server: ntpd.
root@genshi:~# journalctl --unit ntp
-- Logs begin at Sun 2015-06-07 21:18:45 CEST, end at Sun 2015-06-07 21:48:29
CEST. --
Jun 07 21:18:52 genshi.die-welt.net ntpd[648]: ntpd [email protected] Fri Apr 10
19:04:04 UTC 2015 (1)
Jun 07 21:18:52 genshi.die-welt.net ntpd[650]: proto: precision = 0.161 usec
Jun 07 21:18:52 genshi.die-welt.net ntp[616]: Starting NTP server: ntpd.
root@genshi:~# journalctl |grep ntp
Jun 07 21:18:52 genshi.die-welt.net ntpd[648]: ntpd [email protected] Fri Apr 10
19:04:04 UTC 2015 (1)
Jun 07 21:18:52 genshi.die-welt.net ntpd[650]: proto: precision = 0.161 usec
Jun 07 21:18:52 genshi.die-welt.net ntp[616]: Starting NTP server: ntpd.
Jun 07 21:18:53 genshi.die-welt.net ntpd[650]: unable to bind to wildcard
address 0.0.0.0 - another process may be running - EXITING
Not sure the multiple PIDs should worry me, is this maybe related to #581670?
The machine has one inet and one inet6 entry for eth0, and one lo in
/e/n/interfaces.
Calling "systemctl restart ntp.service" starts ntpd just fine.
("start" does not work, as systemd thinks the unit is active)
Greets
Evgeni
-- System Information:
Debian Release: 8.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages ntp depends on:
ii adduser 3.113+nmu3
ii dpkg 1.17.25
ii libc6 2.19-18
ii libcap2 1:2.24-8
ii libedit2 3.1-20140620-2
ii libopts25 1:5.18.4-3
ii libssl1.0.0 1.0.1k-3
ii lsb-base 4.1+Debian13+nmu1
ii netbase 5.3
Versions of packages ntp recommends:
ii perl 5.20.2-3+deb8u1
Versions of packages ntp suggests:
pn ntp-doc <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1:4.2.8p12+dfsg-2
Dear user,
the bug you have submitted is related to the ifupdown triggers shipped
by the ntpdate package that did a one-shot time sync every time an
interface managed by ifupdown was configured.
The hooks have been removed from the ntpdate package in version
1:4.2.8p12+dfsg-2, which will be part of the Buster release.
ntpdate.NEWS reads:
TL;DR: The ntpdate package does NOT ship triggers for ifupdown to run
a one-time sync every time an interface comes up anymore. These hooks
will also be removed on upgrades to Buster. It is strongly recommended
to switch to a permanent NTP daemon like ntp, systemd-timesyncd or chrony.
If you need a one-time sync in your setup please arrange for it
yourselves, i.e. by calling sntp with the appropriate parameters in
/etc/network/interfaces(.d) .
Historically the package ntpdate has included both /usr/bin/ntpdate
(which is
the historic go-to program for one-shot NTP querying) and ifupdown
hooks to
execute a one-shot NTP query on every interface up event.
The ifupdown hooks have introduced buggy behaviour by syncing too often
(on every ifup), too seldom (never again) and are likely to interfere with
other time-keeping measures on the same system including ntpd. The hooks
frequently caused dependency problems with local DNS resolvers or uncommon
network configurations. They have therefor been dropped from the ntpdate
package.
For time synchronisation purpose please use one of the many timekeeping
daemons in Debian (ntp, systemd-timesyncd, chrony).
For the manual use, /usr/bin/ntpdate has been deprecated upstream and
replaced by /usr/bin/sntp (in the sntp binary package). If you want a
proper one-shot sync against a pool of servers you may also consider the
-q option of ntpd.
Best Regards,
The NTP maintainers
--- End Message ---