Bug#407336: [pkg-ntp-maintainers] Bug#407336: ntp: undesirable behaviour of overwriting conf file based on dhcp unconfigurable

Tim Connors reportbug at rather.puzzling.org
Tue Feb 27 21:38:16 CET 2007


On Tue, 27 Feb 2007, Kurt Roeckx wrote:

> On Thu, Jan 18, 2007 at 06:31:26PM +1100, Tim Connors wrote:
> >
> > This was as default, and hence was off.  I won't be on this dhcp network
> > until at least Monday, and shall try it again then with some debug output.
> > This may well be a dhcp3 bug.  Perhaps new_ntp_servers is being receieved
> > and passed on even though not requested.
>
> Did you have a chance to test this?  Do you still think this is a bug in
> the ntp package?

This is the last 24 hours for another month that I'll be able to access
this network, and yes, it is happening.  I put:
---
echo ntp remove
set -xv
echo $reason
set
---
and
---
echo ntp add
set -xv
echo $reason
set
---

at the start of the remove and add functions in
/etc/dhcp3/dhclient-enter-hooks.d/ntp and it is quite clearly being called
with $reason=BOUND
(about third time around after a bunch of times when $reason didn't
match).

This is with
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers,
        netbios-name-servers, netbios-scope, interface-mtu;
in /etc/dhcp3/dhclient.conf



-- 
Tim Connors                  |  Anglo-Australian Observatory
http://site.aao.gov.au/twc   |  Coonabarabran, NSW 2357, Australia
                             |  Tel: +61 2 6842 6286




More information about the pkg-ntp-maintainers mailing list