Comment 0 for bug 114505

Revision history for this message
feisty_hot_lover (feisty-hot-lover-deactivatedaccount) wrote : ntp is being brought up before network is ready, causing ntp to not resolve any ip or host names and it appears ntp does not recover

Binary package hint: ntp

ntp is not resolving host names or ip addresses. I believe ntp is trying to do it's job before the network is brought up properly. I use 7.04 and is not an upgrade. Below you will find a snippet of my daemon log containing the relevant portions.

May 13 13:37:18 ubuntu ntpdate[4194]: step time server 209.151.236.226 offset -0.998100 sec
May 13 13:37:19 ubuntu NetworkManager: <information>^Istarting...
May 13 13:37:19 ubuntu NetworkManager: <information>^Ieth0: Device is fully-supported using driver '8139too'.
May 13 13:37:19 ubuntu NetworkManager: <information>^Inm_device_init(): waiting for device's worker thread to start
May 13 13:37:19 ubuntu avahi-daemon[5014]: Found user 'avahi' (UID 105) and group 'avahi' (GID 111).
May 13 13:37:19 ubuntu avahi-daemon[5014]: Successfully dropped root privileges.
May 13 13:37:19 ubuntu avahi-daemon[5014]: avahi-daemon 0.6.17 starting up.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Successfully called chroot().
May 13 13:37:19 ubuntu avahi-daemon[5014]: Successfully dropped remaining capabilities.
May 13 13:37:19 ubuntu avahi-daemon[5014]: No service found in /etc/avahi/services.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.100.
May 13 13:37:19 ubuntu avahi-daemon[5014]: New relevant interface eth0.IPv4 for mDNS.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Network interface enumeration completed.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Registering new address record for fe80::205:5dff:fe53:2ba5 on eth0.*.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Registering new address record for 192.168.1.100 on eth0.IPv4.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Registering HINFO record with values 'I686'/'LINUX'.
May 13 13:37:19 ubuntu NetworkManager: <information>^Inm_device_init(): device's worker thread started, continuing.
May 13 13:37:19 ubuntu NetworkManager: <information>^INow managing wired Ethernet (802.3) device 'eth0'.
May 13 13:37:19 ubuntu NetworkManager: <information>^IDeactivating device eth0.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Withdrawing address record for 192.168.1.100 on eth0.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.100.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Interface eth0.IPv4 no longer relevant for mDNS.
May 13 13:37:19 ubuntu avahi-daemon[5014]: Withdrawing address record for fe80::205:5dff:fe53:2ba5 on eth0.
May 13 13:37:20 ubuntu NetworkManager: <information>^IWill activate wired connection 'eth0' because it now has a link.
May 13 13:37:20 ubuntu NetworkManager: <information>^ISWITCH: no current connection, found better connection 'eth0'.
May 13 13:37:20 ubuntu NetworkManager: <information>^IWill activate connection 'eth0'.
May 13 13:37:20 ubuntu NetworkManager: <information>^IDevice eth0 activation scheduled...
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) started...
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 1 of 5 (Device Prepare) started...
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) scheduled...
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 1 of 5 (Device Prepare) complete.
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) starting...
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) successful.
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) complete.
May 13 13:37:20 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 3 of 5 (IP Configure Start) started...
May 13 13:37:21 ubuntu NetworkManager: <information>^IActivation (eth0) Beginning DHCP transaction.
May 13 13:37:21 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 3 of 5 (IP Configure Start) complete.
May 13 13:37:21 ubuntu NetworkManager: <information>^IDHCP daemon state is now 12 (successfully started) for interface eth0
May 13 13:37:22 ubuntu NetworkManager: <information>^IDHCP daemon state is now 1 (starting) for interface eth0
May 13 13:37:23 ubuntu hcid[5284]: Bluetooth HCI daemon
May 13 13:37:23 ubuntu NetworkManager: <debug info>^I[1179088643.657209] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/platform_bluetooth').
May 13 13:37:23 ubuntu hcid[5284]: Starting SDP server
May 13 13:37:23 ubuntu ntpd[5325]: ntpd 4.2.2p4@1.1585-o Wed Mar 7 20:43:30 UTC 2007 (1)
May 13 13:37:23 ubuntu ntpd[5326]: precision = 1.000 usec
May 13 13:37:23 ubuntu ntpd[5326]: Listening on interface wildcard, 0.0.0.0#123 Disabled
May 13 13:37:23 ubuntu ntpd[5326]: Listening on interface wildcard, ::#123 Disabled
May 13 13:37:23 ubuntu ntpd[5326]: Listening on interface lo, ::1#123 Enabled
May 13 13:37:23 ubuntu ntpd[5326]: Listening on interface lo, 127.0.0.1#123 Enabled
May 13 13:37:23 ubuntu ntpd[5326]: kernel time sync status 0040
May 13 13:37:23 ubuntu ntpd[5326]: frequency initialized 163.679 PPM from /var/lib/ntp/ntp.drift
May 13 13:37:24 ubuntu dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
May 13 13:37:24 ubuntu dhclient: DHCPACK from 192.168.1.1
May 13 13:37:25 ubuntu avahi-daemon[5014]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.100.
May 13 13:37:25 ubuntu avahi-daemon[5014]: New relevant interface eth0.IPv4 for mDNS.
May 13 13:37:25 ubuntu avahi-daemon[5014]: Registering new address record for 192.168.1.100 on eth0.IPv4.
May 13 13:37:25 ubuntu dhclient: bound to 192.168.1.100 -- renewal in 36009 seconds.
May 13 13:37:25 ubuntu NetworkManager: <information>^IDHCP daemon state is now 4 (reboot) for interface eth0
May 13 13:37:25 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) scheduled...
May 13 13:37:25 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) started...
May 13 13:37:25 ubuntu NetworkManager: <information>^IRetrieved the following IP4 configuration from the DHCP daemon:
May 13 13:37:25 ubuntu NetworkManager: <information>^I address 192.168.1.100
May 13 13:37:25 ubuntu NetworkManager: <information>^I netmask 255.255.255.0
May 13 13:37:25 ubuntu NetworkManager: <information>^I broadcast 192.168.1.255
May 13 13:37:25 ubuntu NetworkManager: <information>^I gateway 192.168.1.1
May 13 13:37:25 ubuntu NetworkManager: <information>^I nameserver 205.171.3.65
May 13 13:37:25 ubuntu NetworkManager: <information>^I nameserver 205.171.2.65
May 13 13:37:25 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
May 13 13:37:25 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) complete.
May 13 13:37:25 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) started...
May 13 13:37:25 ubuntu avahi-daemon[5014]: Withdrawing address record for 192.168.1.100 on eth0.
May 13 13:37:25 ubuntu avahi-daemon[5014]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.100.
May 13 13:37:25 ubuntu avahi-daemon[5014]: Interface eth0.IPv4 no longer relevant for mDNS.
May 13 13:37:25 ubuntu avahi-daemon[5014]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.100.
May 13 13:37:25 ubuntu avahi-daemon[5014]: New relevant interface eth0.IPv4 for mDNS.
May 13 13:37:25 ubuntu avahi-daemon[5014]: Registering new address record for 192.168.1.100 on eth0.IPv4.
May 13 13:37:25 ubuntu ntpd_initres[5334]: host name not found: ntp.ubuntu.com
May 13 13:37:25 ubuntu ntpd_initres[5334]: couldn't resolve `ntp.ubuntu.com', giving up on it
May 13 13:37:25 ubuntu ntpd_initres[5334]: host name not found: us.pool.ntp.org
May 13 13:37:25 ubuntu ntpd_initres[5334]: couldn't resolve `us.pool.ntp.org', giving up on it
May 13 13:37:26 ubuntu NetworkManager: <information>^IClearing nscd hosts cache.
May 13 13:37:26 ubuntu NetworkManager: <WARNING>^I nm_spawn_process (): nm_spawn_process('/usr/sbin/nscd -i hosts'): could not spawn process. (Failed to execute child process "/usr/sbin/nscd" (No such file or directory))
May 13 13:37:26 ubuntu NetworkManager: <information>^IActivation (eth0) successful, device activated.
May 13 13:37:26 ubuntu NetworkManager: <information>^IActivation (eth0) Finish handler scheduled.
May 13 13:37:26 ubuntu NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
May 13 13:37:27 ubuntu avahi-daemon[5014]: Registering new address record for fe80::205:5dff:fe53:2ba5 on eth0.*.
May 13 13:37:27 ubuntu ntpdate[5574]: the NTP socket is in use, exiting
May 13 13:37:32 ubuntu NetworkManager: <information>^IUpdating allowed wireless network lists.
May 13 13:37:33 ubuntu NetworkManager: <WARNING>^I nm_dbus_get_networks_cb (): error received: org.freedesktop.NetworkManagerInfo.NoNetworks - There are no wireless networks stored..