[pkg-ntp-maintainers] Bug#569775: ntp should not use /etc/ntp.conf.dhcp when dhclient don't receive ntp server

Ognyan Kulev ogi at triangle.bg
Sun Feb 14 08:02:12 UTC 2010


Package: ntp
Version: 1:4.2.4p8+dfsg-1

I configured dhclient to use ntp servers and it worked fine. Then I
moved to another dhcp server that don't send ntp server. But
/etc/ntp.conf.dhcp file have stayed and it is wrongly used by ntp. (The
previously sent ntp server was 192.168.0.1 - the DHCP/gateway server
itself. In the new environment there's no NTP server at this address and
ntp suddenly and quietly stopped synchronizing time.)

There should be some check if /etc/ntp.conf.dhcp is generated by current
dhclient session. If it's left-over from previous session, it should not
be used.

Regards,
Ognyan Kulev





More information about the pkg-ntp-maintainers mailing list