network-manager stops and restarts already ifup'ed interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
Critical
|
Alexander Sack | ||
ntp (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
upstart (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Ntp gets started before the network is setup. I have this happen with 2 machines. Each gets their network information via dhcp. One machine was installed from kubuntu herd4. The other was installed from kubuntu herd5. Both machines are kept up to date. The following happens consistently on both machines.
1. network manager starts
2. ntp is started but can only bind to lo because eth0 is not up yet
3. dhcp client brings up eth0
4. ntpdate is then run buts fails because ntp is already running
Mar 7 09:36:26 wilma NetworkManager: <information>^IWill activate wired connection 'eth0' because it now has a link.
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>^IWill activate connection 'eth0'.
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:26 wilma NetworkManager: <information>
Mar 7 09:36:27 wilma NetworkManager: <information>
Mar 7 09:36:27 wilma NetworkManager: <information>
Mar 7 09:36:27 wilma NetworkManager: <information>^IDHCP daemon state is now 12 (successfully started) for interface eth0
Mar 7 09:36:27 wilma rpc.statd[4877]: Version 1.0.10 Starting
Mar 7 09:36:27 wilma ntpd[4896]: ntpd 4.2.2p4@1.1585-o Tue Nov 28 12:19:49 UTC 2006 (1)
Mar 7 09:36:27 wilma ntpd[4897]: precision = 1.000 usec
Mar 7 09:36:27 wilma ntpd[4897]: Listening on interface wildcard, 0.0.0.0#123 Disabled
Mar 7 09:36:27 wilma ntpd[4897]: Listening on interface wildcard, ::#123 Disabled
Mar 7 09:36:27 wilma ntpd[4897]: Listening on interface lo, ::1#123 Enabled
Mar 7 09:36:27 wilma ntpd[4897]: Listening on interface lo, 127.0.0.1#123 Enabled
Mar 7 09:36:27 wilma ntpd[4897]: kernel time sync status 0040
Mar 7 09:36:27 wilma hcid[4914]: Bluetooth HCI daemon
Mar 7 09:36:27 wilma ntpd[4897]: frequency initialized -6.663 PPM from /var/lib/
Mar 7 09:36:28 wilma NetworkManager: <debug info>^I[
es/platform_
Mar 7 09:36:28 wilma hcid[4914]: Starting SDP server
Mar 7 09:36:28 wilma NetworkManager: <information>^IDHCP daemon state is now 1 (starting) for interface eth0
Mar 7 09:36:28 wilma dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Mar 7 09:36:28 wilma dhclient: DHCPACK from 172.16.31.1
Mar 7 09:36:28 wilma avahi-daemon[4723]: Joining mDNS multicast group on interface eth0.IPv4 with address 172.16.31.3.
Mar 7 09:36:28 wilma avahi-daemon[4723]: New relevant interface eth0.IPv4 for mDNS.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Registering new address record for 172.16.31.3 on eth0.IPv4.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Withdrawing address record for 172.16.31.3 on eth0.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Leaving mDNS multicast group on interface eth0.IPv4 with address 172.16.31.3.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Interface eth0.IPv4 no longer relevant for mDNS.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Joining mDNS multicast group on interface eth0.IPv4 with address 172.16.31.3.
Mar 7 09:36:28 wilma avahi-daemon[4723]: New relevant interface eth0.IPv4 for mDNS.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Registering new address record for 172.16.31.3 on eth0.IPv4.
Mar 7 09:36:28 wilma NetworkManager: <information>^IDHCP daemon state is now 4 (reboot) for interface eth0
Mar 7 09:36:28 wilma NetworkManager: <information>
Mar 7 09:36:28 wilma NetworkManager: <information>
Mar 7 09:36:28 wilma NetworkManager: <information>
Mar 7 09:36:28 wilma NetworkManager: <information>^I address 172.16.31.3
Mar 7 09:36:28 wilma NetworkManager: <information>^I netmask 255.255.255.0
Mar 7 09:36:28 wilma NetworkManager: <information>^I broadcast 172.16.31.255
Mar 7 09:36:28 wilma NetworkManager: <information>^I gateway 172.16.31.254
Mar 7 09:36:28 wilma NetworkManager: <information>^I nameserver 172.16.31.1
Mar 7 09:36:28 wilma NetworkManager: <information>^I domain name 'bedrock'
Mar 7 09:36:28 wilma NetworkManager: <information>
Mar 7 09:36:28 wilma NetworkManager: <information>
Mar 7 09:36:28 wilma NetworkManager: <information>
Mar 7 09:36:28 wilma avahi-daemon[4723]: Withdrawing address record for 172.16.31.3 on eth0.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Leaving mDNS multicast group on interface eth0.IPv4 with address 172.16.31.3.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Interface eth0.IPv4 no longer relevant for mDNS.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Joining mDNS multicast group on interface eth0.IPv4 with address 172.16.31.3.
Mar 7 09:36:28 wilma avahi-daemon[4723]: New relevant interface eth0.IPv4 for mDNS.
Mar 7 09:36:28 wilma avahi-daemon[4723]: Registering new address record for 172.16.31.3 on eth0.IPv4.
Mar 7 09:36:28 wilma dhclient: bound to 172.16.31.3 -- renewal in 20870 seconds.
Mar 7 09:36:29 wilma NetworkManager: <information>
Mar 7 09:36:29 wilma NetworkManager: <WARNING>^I nm_spawn_process (): nm_spawn_
execute child process "/usr/sbin/nscd" (No such file or directory))
Mar 7 09:36:29 wilma NetworkManager: <information>
Mar 7 09:36:29 wilma NetworkManager: <information>
Mar 7 09:36:29 wilma NetworkManager: <information>
Mar 7 09:36:31 wilma avahi-daemon[4723]: Registering new address record for fe80::203:
Mar 7 09:36:31 wilma ntpdate[5143]: the NTP socket is in use, exiting
Related branches
Changed in network-manager: | |
assignee: | nobody → desktop-bugs |
Changed in upstart: | |
status: | Unconfirmed → Rejected |
Changed in ntp: | |
status: | Unconfirmed → Rejected |
Changed in network-manager: | |
assignee: | desktop-bugs → nobody |
Changed in ntp: | |
status: | Confirmed → Rejected |
Changed in network-manager: | |
importance: | Medium → Critical |
Changed in network-manager: | |
assignee: | nobody → asac |
I believe this is actually a problem w/ the program that starts up ntp.