[pkg-ntp-maintainers] Bug#514318: Bug#514318: lockfile can cause long startup delays, questionable benefit

Steve Kostecke kostecke at ntp.org
Tue Mar 24 21:05:23 UTC 2009


martin f krafft said:

>On a lenny system, whose DNS servers are broken right now, the ntp
>initscript hangs for ~4 minutes, delaying the whole boot sequence.
>
>Closer investigation shows that it idles in lock_ntpdate's invocation
>of lockfile-create. I appreciate that it is trying to play nicely with
>e.g. /etc/network/if-up.d/ntpdate (for which I also enabled trace in
>the output below), but this kind of deadlock seems really unnecessary:

ntpdate is deprecated by The NTP Project.

The recommended replacement for ntpdate for the initial clock setting is
to start ntpd with the '-g' option (which allows ntpd to make one step
exceeding the panic threshold).

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the pkg-ntp-maintainers mailing list