[Pkg-sysvinit-devel] Bug#461461: sysv-rc: ntp brought up in wrong order with dhcp and ipv6 enabled

Rick Thomas rbthomas55 at pobox.com
Fri Jan 18 19:09:56 UTC 2008


Package: sysv-rc
Version: 2.86.ds1-47
Severity: important


On a system with ipv6 networking enabled and the IPv4 dhclient installed, ntp is brought up before the network 
interfaces are ready for it.  The result is that the ntpd daemon is unable to contact any servers and cannot 
synchronize.

Relevant parts of syslog are included below
----------------------------------------
Jan 17 12:52:25 lilserver kernel: eth0: Link is up at 100 Mbps, full-duplex.
Jan 17 12:52:25 lilserver kernel: eth0: Pause is disabled
Jan 17 12:52:26 lilserver kernel: NET: Registered protocol family 10
Jan 17 12:52:26 lilserver kernel: lo: Disabled Privacy Extensions
Jan 17 12:52:27 lilserver ntpd[2359]: ntpd 4.2.4p4 at 1.1520-o Wed Oct 24 06:39:49 UTC 2007 (1)
Jan 17 12:52:27 lilserver ntpd[2361]: precision = 1.000 usec
Jan 17 12:52:27 lilserver ntpd[2361]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Jan 17 12:52:27 lilserver ntpd[2361]: Listening on interface #1 wildcard, ::#123 Disabled
Jan 17 12:52:27 lilserver ntpd[2361]: Listening on interface #2 lo, ::1#123 Enabled
Jan 17 12:52:27 lilserver ntpd[2361]: bind() fd 19, family 10, port 123, scope 2, addr fe80::211:24ff:fe3e:8714, in6_is_addr_multicast=0 flags=0x11 fails: Cannot assign requested address
Jan 17 12:52:27 lilserver ntpd[2361]: unable to create socket on eth0 (3) for fe80::211:24ff:fe3e:8714#123
Jan 17 12:52:27 lilserver ntpd[2361]: failed to initialize interface for address fe80::211:24ff:fe3e:8714
Jan 17 12:52:27 lilserver ntpd[2361]: Listening on interface #4 lo, 127.0.0.1#123 Enabled
Jan 17 12:52:27 lilserver ntpd[2361]: kernel time sync status 0040
Jan 17 12:52:27 lilserver ntpd[2361]: Cannot find existing interface for address 192.168.1.118
Jan 17 12:52:27 lilserver ntpd[2361]: configuration of 192.168.1.118 failed
Jan 17 12:52:27 lilserver ntpd[2361]: Cannot find existing interface for address 192.168.1.138
Jan 17 12:52:27 lilserver ntpd[2361]: configuration of 192.168.1.138 failed
Jan 17 12:52:27 lilserver kernel: lp: driver loaded but no devices found
Jan 17 12:52:27 lilserver ntpd[2361]: frequency initialized -22.028 PPM from /var/lib/ntp/ntp.drift
Jan 17 12:52:27 lilserver dhclient: bound to 192.168.1.158 -- renewal in 8759 seconds.
Jan 17 12:52:28 lilserver ntpd[2361]: bind() fd 20, family 10, port 123, scope 2, addr 2001:5c0:9903:0:211:24ff:fe3e:8714, in6_is_addr_multicast=0 flags=0x11 fails: Cannot assign requested address
Jan 17 12:52:28 lilserver ntpd[2361]: unable to create socket on eth0 (5) for 2001:5c0:9903:0:211:24ff:fe3e:8714#123
Jan 17 12:52:28 lilserver ntpd[2361]: failed to initialize interface for address 2001:5c0:9903:0:211:24ff:fe3e:8714
Jan 17 12:52:28 lilserver ntpd[2361]: Listening on interface #6 eth0, fe80::211:24ff:fe3e:8714#123 Enabled
Jan 17 12:52:28 lilserver ntpd[2361]: Listening on interface #7 eth0, 192.168.1.158#123 Enabled
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Found user 'avahi' (UID 104) and group 'avahi' (GID 106).
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Successfully dropped root privileges.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: avahi-daemon 0.6.21 starting up.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Successfully called chroot().
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Successfully dropped remaining capabilities.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: No service file found in /etc/avahi/services.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.158.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: New relevant interface eth0.IPv4 for mDNS.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Network interface enumeration completed.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Registering new address record for 2001:5c0:9903:0:211:24ff:fe3e:8714 on eth0.*.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Registering new address record for 192.168.1.158 on eth0.IPv4.
Jan 17 12:52:31 lilserver avahi-daemon[2714]: Registering HINFO record with values 'PPC'/'LINUX'.
Jan 17 12:52:32 lilserver avahi-daemon[2714]: Server startup complete. Host name is lilserver.local. Local service cookie is 73708576.




-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-3-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

sysv-rc depends on no packages.

Versions of packages sysv-rc recommends:
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list