[issue1243] dntpd(8) blocks during startup
Matthew Dillon
dillon at apollo.backplane.com
Tue Feb 3 14:17:26 PST 2009
: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 at backplane.com>
More information about the Bugs
mailing list