On Fri, Nov 16, 2007 at 12:38:03PM +0100, Otto Moerbeek wrote:
> On Fri, Nov 16, 2007 at 11:43:38AM +0100, frantisek holop wrote:
> > hi there,
> > 
> > i have upgraded to 4.2 and because i am frequently without net access
> > i see the following: at startup time ntpd just hangs indefinitely
> > and must be terminated.
> > 
> > /etc/rc.conf.local:
> > ntpd_flags="-s"
> > 
> > /etc/hostname.rl0:
> > dhcp NONE NONE NONE
> > 
> > otherwise a stock 4.2 install.
> > 
> > could someone test this before i submit a bug report?
> > 
> > -f
> > -- 
> > so you think you can tell heaven from hell.
> 
> I can reproduce.
> 
> If there's no active network interface, the poll() in main() generates
> a POLLOUT event (because there's a request to send out), but
> msgbuf_write() returns 0, so the outgoing request stays in the buffer,
> causing a loop, because the next poll will generate a POLLOUT event. 

This analysis is not completely correct (the send acually succeeds).
It seems new requests are stuffed into the buffer or so...

> 
> Are you sure this did not happen before?
> 
> I'll think about a diff.
> 
>         -Otto

Reply via email to