[pkg-ntp-maintainers] Bug#408219: ntpd giving up on eth0 before it
is initialized
Erik Thiele
erik at thiele-hydraulik.de
Wed Jan 24 11:08:21 CET 2007
Package: ntp
Version: 4.2.2.p4+dfsg-1
my ethernet is configured via dhcp:
goofy:/etc# cat network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
i added
request ntp-servers;
to /etc/dhcp3/dhclient.conf
so that ntpd.conf.dhcp gets created. see bug #407667.
the problem now is that the dhclient sets networking parameters after ntpd has
already started. dhclient won't restart ntpd because configuration hasn't
changed. this way ntpd will fail on the ip adress because the ethernet is
down. it will remain like this forever:
ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
wo.x.lan .INIT. 16 - - 64 0 0.000 0.000 0.000
if i restart ntpd it will work.
More information about the pkg-ntp-maintainers
mailing list