Is there any danger of the rc2.d restarting ntp before if-up.d/ntpdate
script gets done starting ntpdate, causing ntpdate to fail?

Since we know that if-up.d/ntpdate will eventually start ntp, we could
define a transient 'ntp-will-start' upstart job.  Have if-up.d/ntpdate
start ntp-will-start, stop ntp, do it's thing, stop ntp-will-start, then
start ntp.  At that point, if there are two 'start ntp's it doesn't
matter, one will suceed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/1125726

Title:
  boot-time race between /etc/network/if-up.d/ntpdate and
  "/etc/init.d/ntp start"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1125726/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to