OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: ntpd can hang on boot

From: Giancarlo Razzolini (linux-fanonda.com.br)
Date: Wed Sep 10 2008 - 09:56:53 CDT


Henning Brauer escreveu:
> * Giancarlo Razzolini <linux-fanonda.com.br> [2008-09-10 15:43]:
>
>> Henning Brauer escreveu:
>>
>>> ntpd -s will time out eventually, but the 'eventually' might be
>>> painfully far away. it's the dns routines that block and cause these
>>> problems. i know how to fix this but haven't found the time to do so
>>> yet. maybe i get a chance on the flight later today. maybe.
>>>
>>>
>>>
>> I never believed it wouldn't :-) but, from my experience, rdate timeout
>> exactly after 2 minutes. Not *that* far away so. Just for curiosity,
>> what are the dns routines differences between them?
>>
>
> ou won't make me read rdate now
>
>
Hahahahahhah... Don't bother. Whatever are the differences (if there are
some), rdate definitely timeout after 2 minutes. Confirmed in a little
openbsd virtual machine of mine. So, for the original poster, i
recommend that you sticky with rdate for now, it will timeout faster
than ntpd -s. When Henning changes the ntpd code (that i expect will be
on both current and 4.4), you get back to ntpd -s.

My regards,

--
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Heron
4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85