DragonFly bugs List (threaded) for 2009-02
DragonFly BSD
DragonFly bugs List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1243] dntpd(8) blocks during startup


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2009 14:16:29 -0800 (PST)

:If it's fun I'll give it a try then.
:
:I tested the following patch by starting dntpd on a machine
:disconnected from the network and set to an incorrect system time.
:dntpd goes into background without hanging and, when connected back,
:the time is eventually corrected.
:
:Is it as simple as that?  Have I missed some corner case?

    Just the logging case.  I'm pretty sure with a high enough logging
    level it will log messages that imply a failed connection 
    reconnected when, in fact, it is the initial connection that is
    being handled.

    Other then that, well, yah... it's pretty easy :-).  Take a quick
    shot at the logging case and then we'll commit it.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]