ntpd -q retry timeout

Denys Vlasenko vda.linux at googlemail.com
Fri Aug 27 00:09:38 UTC 2010


On Wednesday 25 August 2010 23:05, Rob Landley wrote:
> A note on the advisability of using ntpd's -q option from /dev/console, a 
> context in which ctrl-c doesn't work:
> 
> # ntpd -nq -p north-america.pool.ntp.org
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> ntpd: send failed: Network is unreachable
> 
> This was the point at which I came back and rebooted the machine.

This is how upstream ntpd works too.
But OTOH, upstream is not fully sane...

Please try attached patch. +16 bytes.
-- 
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.patch
Type: text/x-diff
Size: 1118 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100827/71d0d2fb/attachment.bin>


More information about the busybox mailing list