[pkg-ntp-maintainers] Bug#788014: does not start at bootup

Kai Noda nodakai at gmail.com
Sun Jan 31 06:59:10 UTC 2016


Hi all,

This problem annoys me on my latest minimal sid VM with two interfaces on
VirtualBox.
When I disable one of them on /etc/network/interfaces,
I could circumvent the problem as the timing issue worked in favor of ntpd.
But obviously that's not a strategic solution.

How about removing if-up.d/ntpdate?
I find ntpdate very convenient especially with "-d" option for ad-hoc
investigation.
I don't want to remove it from my system.

Thanks,
Kai

Package: ntp
Version: 1:4.2.8p4+dfsg-3+b1
Severity: important

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

==== My /etc/network/interfaces looks like this ====
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp0s3
iface enp0s3 inet dhcp

# The secondary network interface
allow-hotplug enp0s8
iface enp0s8 inet static
  address 192.168.56.6
  netmask 255.255.255.0
==== End of my /etc/network/interfaces ====

==== Excerpts from my /var/log/daemon.log ====
Jan 31 03:15:03 sid02 systemd[1]: Started udev Kernel Device Manager.
Jan 31 03:15:03 sid02 systemd[1]: Starting LSB: Set preliminary keymap...
Jan 31 03:15:03 sid02 console-setup[178]: Setting up console font and
keymap.../bin/setupcon: 831: /bin/setupcon: cannot create
/etc/console-setup/cached_UTF-8_del.kmap.gz: Read-only file system
Jan 31 03:15:03 sid02 console-setup[178]: failed.
Jan 31 03:15:03 sid02 systemd[1]: Started LSB: Set console font and keymap.
Jan 31 03:15:03 sid02 keyboard-setup[195]: Setting preliminary
keymap...done.
Jan 31 03:15:03 sid02 systemd[1]: Started LSB: Set preliminary keymap.
Jan 31 03:15:03 sid02 systemd[1]: Starting Remount Root and Kernel File
Systems...
Jan 31 03:15:03 sid02 systemd[1]: Started Remount Root and Kernel File
Systems.
Jan 31 03:15:03 sid02 systemd[1]: Starting Flush Journal to Persistent
Storage...
Jan 31 03:15:03 sid02 systemd[1]: Reached target Local File Systems (Pre).
Jan 31 03:15:03 sid02 systemd[1]: Reached target Local File Systems.
Jan 31 03:15:03 sid02 systemd[1]: Starting Raise network interfaces...
Jan 31 03:15:03 sid02 systemd[1]: Starting udev Coldplug all Devices...
Jan 31 03:15:03 sid02 systemd[1]: Starting Load/Save Random Seed...
Jan 31 03:15:03 sid02 systemd[1]: Started Flush Journal to Persistent
Storage.
Jan 31 03:15:03 sid02 systemd[1]: Starting Create Volatile Files and
Directories...
Jan 31 03:15:03 sid02 systemd[1]: Started Load/Save Random Seed.
Jan 31 03:15:03 sid02 systemd[1]: Started Create Volatile Files and
Directories.
Jan 31 03:15:03 sid02 systemd[1]: Starting Update UTMP about System
Boot/Shutdown...
Jan 31 03:15:03 sid02 systemd[1]: Reached target System Time Synchronized.
Jan 31 03:15:03 sid02 systemd[1]: Started udev Coldplug all Devices.
Jan 31 03:15:03 sid02 systemd[1]: Started Update UTMP about System
Boot/Shutdown.
Jan 31 03:15:03 sid02 systemd[1]: Reached target System Initialization.
Jan 31 03:15:03 sid02 systemd[1]: Started Daily Cleanup of Temporary
Directories.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Timers.
Jan 31 03:15:03 sid02 systemd[1]: Listening on ACPID Listen Socket.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Sockets.
Jan 31 03:15:03 sid02 systemd[1]: Started ACPI Events Check.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Paths.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Basic System.
Jan 31 03:15:03 sid02 systemd[1]: Started Regular background program
processing daemon.
Jan 31 03:15:03 sid02 systemd[1]: Starting getty on tty2-tty6 if dbus and
logind are not available...
Jan 31 03:15:03 sid02 systemd[1]: Starting System Logging Service...
Jan 31 03:15:03 sid02 systemd[1]: Starting Permit User Sessions...
Jan 31 03:15:03 sid02 systemd[1]: Started ACPI event daemon.
Jan 31 03:15:03 sid02 systemd[1]: Started ifup for enp0s3.
Jan 31 03:15:03 sid02 systemd[1]: Started ifup for enp0s8.
Jan 31 03:15:03 sid02 systemd[1]: Started getty on tty2-tty6 if dbus and
logind are not available.
Jan 31 03:15:03 sid02 systemd[1]: Found device 82540EM Gigabit Ethernet
Controller (PRO/1000 MT Desktop Adapter).
Jan 31 03:15:03 sid02 systemd[1]: Found device 82540EM Gigabit Ethernet
Controller (PRO/1000 MT Desktop Adapter).
Jan 31 03:15:03 sid02 systemd[1]: Started Permit User Sessions.
Jan 31 03:15:03 sid02 systemd[1]: Started System Logging Service.
Jan 31 03:15:03 sid02 sh[335]: enp0s8=enp0s8
Jan 31 03:15:03 sid02 systemd[1]: Started Raise network interfaces.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Network.
Jan 31 03:15:03 sid02 acpid: starting up with netlink and the input layer
Jan 31 03:15:03 sid02 acpid: 1 rule loaded
Jan 31 03:15:03 sid02 acpid: waiting for events: event logging is off
Jan 31 03:15:03 sid02 systemd[1]: Starting OpenBSD Secure Shell server...
Jan 31 03:15:03 sid02 systemd[1]: Reached target Network is Online.
Jan 31 03:15:03 sid02 systemd[1]: Starting /etc/rc.local Compatibility...
Jan 31 03:15:03 sid02 systemd[1]: Starting LSB: Start NTP daemon...
Jan 31 03:15:03 sid02 systemd[1]: Started /etc/rc.local Compatibility.
Jan 31 03:15:03 sid02 systemd[1]: Started Getty on tty2.
Jan 31 03:15:03 sid02 systemd[1]: Started Getty on tty6.
Jan 31 03:15:03 sid02 systemd[1]: Started Getty on tty3.
Jan 31 03:15:03 sid02 systemd[1]: Started Getty on tty4.
Jan 31 03:15:03 sid02 systemd[1]: Started Getty on tty5.
Jan 31 03:15:03 sid02 systemd[1]: Started Getty on tty1.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Login Prompts.
Jan 31 03:15:03 sid02 dhclient[416]: Internet Systems Consortium DHCP
Client 4.3.3
Jan 31 03:15:03 sid02 dhclient[416]: Copyright 2004-2015 Internet Systems
Consortium.
Jan 31 03:15:03 sid02 dhclient[416]: All rights reserved.
Jan 31 03:15:03 sid02 dhclient[416]: For info, please visit
https://www.isc.org/software/dhcp/
Jan 31 03:15:03 sid02 dhclient[416]:
Jan 31 03:15:03 sid02 sh[334]: Internet Systems Consortium DHCP Client 4.3.3
Jan 31 03:15:03 sid02 sh[334]: Copyright 2004-2015 Internet Systems
Consortium.
Jan 31 03:15:03 sid02 sh[334]: All rights reserved.
Jan 31 03:15:03 sid02 sh[334]: For info, please visit
https://www.isc.org/software/dhcp/
Jan 31 03:15:03 sid02 systemd[1]: Reached target Sound Card.
Jan 31 03:15:03 sid02 dhclient[416]: Listening on
LPF/enp0s3/08:00:27:ca:6c:d2
Jan 31 03:15:03 sid02 dhclient[416]: Sending on
LPF/enp0s3/08:00:27:ca:6c:d2
Jan 31 03:15:03 sid02 dhclient[416]: Sending on   Socket/fallback
Jan 31 03:15:03 sid02 dhclient[416]: DHCPDISCOVER on enp0s3 to
255.255.255.255 port 67 interval 4
Jan 31 03:15:03 sid02 dhclient[416]: DHCPREQUEST of 10.0.2.15 on enp0s3 to
255.255.255.255 port 67
Jan 31 03:15:03 sid02 dhclient[416]: DHCPOFFER of 10.0.2.15 from 10.0.2.2
Jan 31 03:15:03 sid02 dhclient[416]: DHCPACK of 10.0.2.15 from 10.0.2.2
Jan 31 03:15:03 sid02 sh[334]: Listening on LPF/enp0s3/08:00:27:ca:6c:d2
Jan 31 03:15:03 sid02 sh[334]: Sending on   LPF/enp0s3/08:00:27:ca:6c:d2
Jan 31 03:15:03 sid02 sh[334]: Sending on   Socket/fallback
Jan 31 03:15:03 sid02 sh[334]: DHCPDISCOVER on enp0s3 to 255.255.255.255
port 67 interval 4
Jan 31 03:15:03 sid02 sh[334]: DHCPREQUEST of 10.0.2.15 on enp0s3 to
255.255.255.255 port 67
Jan 31 03:15:03 sid02 sh[334]: DHCPOFFER of 10.0.2.15 from 10.0.2.2
Jan 31 03:15:03 sid02 sh[334]: DHCPACK of 10.0.2.15 from 10.0.2.2
Jan 31 03:15:03 sid02 ntpd[479]: ntpd 4.2.8p4 at 1.3265-o Tue Nov  3 02:26:54
UTC 2015 (1): Starting
Jan 31 03:15:03 sid02 ntpd[479]: Command line: /usr/sbin/ntpd -p
/var/run/ntpd.pid -g -u 105:109
Jan 31 03:15:03 sid02 ntp[457]: Starting NTP server: ntpd.
Jan 31 03:15:03 sid02 systemd[1]: Started LSB: Start NTP daemon.
Jan 31 03:15:03 sid02 ntpd[491]: proto: precision = 0.058 usec (-24)
Jan 31 03:15:03 sid02 ntpd[491]: unable to bind to wildcard address :: -
another process may be running - EXITING
Jan 31 03:15:03 sid02 systemd[1]: Started OpenBSD Secure Shell server.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Multi-User System.
Jan 31 03:15:03 sid02 systemd[1]: Reached target Graphical Interface.
Jan 31 03:15:03 sid02 systemd[1]: Starting Update UTMP about System
Runlevel Changes...
Jan 31 03:15:03 sid02 systemd[1]: Started Update UTMP about System Runlevel
Changes.
Jan 31 03:15:03 sid02 systemd[1]: Startup finished in 3.980s (kernel) +
1.201s (userspace) = 5.182s.
Jan 31 03:15:03 sid02 dhclient[416]: bound to 10.0.2.15 -- renewal in 36424
seconds.
Jan 31 03:15:03 sid02 sh[334]: bound to 10.0.2.15 -- renewal in 36424
seconds.
Jan 31 03:15:03 sid02 systemd[1]: Reloading OpenBSD Secure Shell server.
Jan 31 03:15:03 sid02 systemd[1]: Reloaded OpenBSD Secure Shell server.
Jan 31 03:15:03 sid02 sh[334]: enp0s3=enp0s3
Jan 31 03:15:11 sid02 systemd[1]: Time has been changed
Jan 31 03:15:11 sid02 ntpdate[447]: step time server 192.168.56.1 offset
2.274803 sec
==== End of my /var/log/daemon.log ====

野田  開 <nodakai at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20160131/51892222/attachment.html>


More information about the pkg-ntp-maintainers mailing list