On 30/04/2008 at 14:04 +0200, Peter Eisentraut wrote:

> Please see bug #436029 for the reasons this change was made.

Ok, I see.

> There is no conflict, but if you run both at the same time, one has to wait.  
> That is what you are seeing.

Looking it a bit closely I’ve found my problem:

in /etc/network/if-up.d/ntpdate

/usr/sbin/ntpdate-debian -s $OPTS 2>/dev/null

was failing and returning a non zero exit code, and thus

lockfile-remove $LOCKFILE 

wasn’t executed (that script has a set -e at the beginning). That’s why
ntp initscript stalled later, because of the not removed lockfile.

Changing the previous line to

/usr/sbin/ntpdate-debian -s $OPTS 2>/dev/null || /bin/true

“solves” the problem for me, but I would guess that that does not solve
the race condition of bug #436029.

Thanks again.

-- 
Kiko
Private mail is preferred encrypted:
http://www.pirispons.net/pgpkey.html



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to