[ntp:questions] ntp sync and NetworkManger

Steve Kostecke kostecke at ntp.isc.org
Fri Jun 22 12:57:50 UTC 2007

On 2007-06-22, Maarten Wiltink <maarten at kittensandcats.net> wrote:
> "Richard B. Gilbert" <rgilbert88 at comcast.net> wrote in message
> news:467AD2B2.8010009 at comcast.net...
> [...]
>> Try starting ntpd AFTER the network is available!
> ... if Ubuntu has the System V-style init scripts, this is done
> relatively easily by giving its startup symlink a higher number
> than the one that start the network.

Which can easily be done without any special tools merely by renaming
those sym-links.

> I find chkconfig a reasonably convenient way to manipulate those
> symlinks.

Since Ubuntu is based on Debian, it is likely that /usr/sbin/update-rc.d
will be available.

Take a look in your default run level directory (likely /etc/rc2.d/) and
see what the starting number (S...) is for your network script.

Then (assuming your ntp init script is named 'ntp'):

update-rc.d -f ntp remove
update-rc.d ntp defaults NN

(where NN is the new starting number higher than that used for the
network startup)

Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project - http://support.ntp.org/

More information about the questions mailing list