Discussion:
ntpd stop job delays reboot up to 90s
Add Reply
Felix Miata
2017-06-27 09:11:24 UTC
Reply
Permalink
Raw Message
Full message waiting to reboot:
A stop job is running for NTP server Daemon (1min nns / 1min 30s).

This occurs on various installations here at various times, whether rebooting or
shutting down, most never, others routinely, yet not every time, or not a full
90s delay. Just tonight it's been happening on openSUSE 42.3beta with
systemd-228. How is it that a shutdown delay like this can occur when there was
no problem with the startup?

# journalctl -b -1 | grep ntp
Failed to look up boot -1: No such boot ID in journal
# journalctl -b | grep ntp
Jun 27 04:50:53 hpg33 kernel: Mountpoint-cache hash table entries: 4096 (order:
3, 32768 bytes)
Jun 27 04:51:22 hpg33 ntpd[1177]: ntpd ***@1.3728-o Tue Jun 13 18:04:39 UTC
2017 (1): Starting
Jun 27 04:51:22 hpg33 ntpd[1177]: Command line: /usr/sbin/ntpd -p
/var/run/ntp/ntpd.pid -g -u ntp:ntp -c /etc/ntp.conf
Jun 27 04:51:22 hpg33 ntpd[1181]: proto: precision = 0.060 usec (-24)
Jun 27 04:51:22 hpg33 ntpd[1181]: switching logging to file /var/log/ntp
Jun 27 04:51:22 hpg33 start-ntpd[1166]: Starting network time protocol daemon (NTPD)
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
Lennart Poettering
2017-06-27 11:57:52 UTC
Reply
Permalink
Raw Message
Post by Felix Miata
A stop job is running for NTP server Daemon (1min nns / 1min 30s).
This occurs on various installations here at various times, whether rebooting or
shutting down, most never, others routinely, yet not every time, or not a full
90s delay. Just tonight it's been happening on openSUSE 42.3beta with
systemd-228. How is it that a shutdown delay like this can occur when there was
no problem with the startup?
Well, that's something you should really ping your distro's ntpd
maintainers about. if a daemon doesn't want to exit then that sounds
like a bug in the daemon.

Lennart
--
Lennart Poettering, Red Hat
Loading...