* Giancarlo Razzolini <[EMAIL PROTECTED]> [2008-09-09 21:20]: > Peter Fraser escreveu: > > OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008 > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > > Frank Bax > > Sent: Saturday, September 06, 2008 5:50 PM > > To: misc@openbsd.org > > Subject: Re: ntpd can hang on boot > > > > Peter Fraser wrote: > > > >> I stupidly screwed up my pf.conf, as a result "ntpd -s" which is invoked in > >> /etc/rc (as a result of my /etc/rc.conf.local) could not resolve the names > >> > > of > > > >> the time servers. > >> > > > > > > What version? > > http://kerneltrap.org/mailarchive/openbsd-misc/2007/11/16/420560 > > > > > > > Pal, use rdate and it will timeout after 2 minutes. I don't like to use > the -s option of ntpd exactly for this problem. When there wasn't a > internet connection, it will simply hang. rdate will not hang (at least > not indefinitely).
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. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam