[pkg-ntp-maintainers] Bug#766838: Bug#766838: ntpdate runs before network is up

Mark-Oliver Wolter mark-oliver.wolter at sourcetronic.com
Thu Jun 8 13:09:58 UTC 2017


Hello,

 

I still see weird behavior in the syslog (deb8.8): The first call of ntpdate
is before networking is done and ifup starts. The second and third call are
reasonable though.

 

Jun  8 13:30:28 magento systemd[1]: Starting system-ifup.slice.

Jun  8 13:30:28 magento systemd[1]: Created slice system-ifup.slice.

Jun  8 13:30:28 magento keyboard-setup[200]: Setting preliminary
keymap...done.

Jun  8 13:30:28 magento systemd[1]: Started LSB: Set preliminary keymap.

Jun  8 13:30:28 magento systemd[1]: Starting Remount Root and Kernel File
Systems...

Jun  8 13:30:28 magento systemd[1]: Started Remount Root and Kernel File
Systems.

Jun  8 13:30:28 magento systemd[1]: Started Various fixups to make systemd
work better on Debian.

Jun  8 13:30:28 magento systemd[1]: Starting Load/Save Random Seed...

Jun  8 13:30:28 magento systemd[1]: Starting Local File Systems (Pre).

[.]

Jun  8 13:30:28 magento ntpdate[423]: Can't find host 0.debian.pool.ntp.org:
Name or service not known (-2)

Jun  8 13:30:28 magento ntpdate[423]: Can't find host 1.debian.pool.ntp.org:
Name or service not known (-2)

Jun  8 13:30:28 magento ntpdate[423]: Can't find host 2.debian.pool.ntp.org:
Name or service not known (-2)

Jun  8 13:30:28 magento ntpdate[423]: Can't find host 3.debian.pool.ntp.org:
Name or service not known (-2)

Jun  8 13:30:28 magento ntpdate[423]: no servers can be used, exiting

Jun  8 13:30:28 magento networking[284]: Configuring network
interfaces...done.

Jun  8 13:30:28 magento systemd[1]: Started LSB: Raise network interfaces..

Jun  8 13:30:28 magento systemd[1]: Starting ifup for eth0...

Jun  8 13:30:28 magento systemd[1]: Started ifup for eth0.

Jun  8 13:30:28 magento systemd[1]: Starting Network.

Jun  8 13:30:28 magento systemd[1]: Reached target Network.

Jun  8 13:30:28 magento systemd[1]: Starting Network is Online.

Jun  8 13:30:28 magento systemd[1]: Reached target Network is Online.

Jun  8 13:30:28 magento systemd[1]: Starting LSB: RPC portmapper
replacement...

Jun  8 13:30:28 magento dhclient: Internet Systems Consortium DHCP Client
4.3.1

Jun  8 13:30:28 magento dhclient: Copyright 2004-2014 Internet Systems
Consortium.

Jun  8 13:30:28 magento dhclient: All rights reserved.

Jun  8 13:30:28 magento dhclient: For info, please visit
https://www.isc.org/software/dhcp/

Jun  8 13:30:28 magento dhclient:

Jun  8 13:30:28 magento ifup[436]: Internet Systems Consortium DHCP Client
4.3.1

Jun  8 13:30:28 magento ifup[436]: Copyright 2004-2014 Internet Systems
Consortium.

Jun  8 13:30:28 magento ifup[436]: All rights reserved.

Jun  8 13:30:28 magento ifup[436]: For info, please visit
https://www.isc.org/software/dhcp/

Jun  8 13:30:28 magento rpcbind[437]: Starting rpcbind daemon....

[.]

Jun  8 13:30:48 magento dhclient: bound to 192.168.1.161 -- renewal in
1242771 seconds.

Jun  8 13:30:48 magento ifup[436]: bound to 192.168.1.161 -- renewal in
1242771 seconds.

Jun  8 13:30:48 magento systemd[1]: Reloading OpenBSD Secure Shell server.

Jun  8 13:30:48 magento systemd[1]: Reloaded OpenBSD Secure Shell server.

Jun  8 13:30:50 magento ifup[436]: Waiting for DAD... Done

Jun  8 13:30:50 magento systemd[1]: Reloading OpenBSD Secure Shell server.

Jun  8 13:30:50 magento systemd[1]: Reloaded OpenBSD Secure Shell server.

Jun  8 13:30:38 magento ntpdate[997]: step time server 213.95.200.107 offset
-19.254532 sec

Jun  8 13:30:38 magento systemd[1]: Time has been changed

[.]

Jun  8 13:30:55 magento ntpdate[1433]: step time server 213.95.200.107
offset 0.000554 sec

Jun  8 13:30:55 magento systemd[1]: Time has been changed

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20170608/072e592a/attachment.html>


More information about the pkg-ntp-maintainers mailing list