[Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

Serge Hallyn 1125726 at bugs.launchpad.net
Wed Feb 27 20:39:44 UTC 2013


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



More information about the Ubuntu-server-bugs mailing list