I 'fixed' this by moving "/etc/dhcp3/dhclient-enter-hooks.d/ntp" to
"/etc/dhcp3/dhclient-exit-hooks.d/ntp".

Before the move a test PING of the new NTP servers failed with "ping: sendmsg: 
Network is unreachable".
This makes sends because the -enter- hooks are run before the DHCP stage (in 
this case, $reason=REBOOT) is complete, i.e. before the interface has finished 
configuring itself.

After the move, the test ping succeeded and ntp was happy.
I assume this is because the -exit- hooks are run after the DHCP stage has 
completed, i.e. after the interface is up and configured.

Assuming this is the Right Thing to do, the ntpdate hook script should
probably be moved too.

-- 
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
https://bugs.launchpad.net/bugs/114505
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to