[pkg-ntp-maintainers] Bug#289267: [debian-ntp] Bug#289267: ntp: NTP on ifup

Ingo Oeser debian-bugs at axxeo.de
Mon Dec 11 14:50:35 CET 2006


Hi Tore,

Tore Anderson schrieb:
> * Ingo Oeser
> 
> > The proposed solution of using /etc/networking/if-up.d/ works
> > without any problem for most of your users. Actually unbuntu
> > "Dapper Drake" is just doing it this way and I never had any problems.
> > We fixed it for our customers the same way.
> 
>   This is scary.  I just had a rather unpleasant experience with this
>  behaviour on a router box here.  Time was a little bit out of sync,
>  upped an interface, and then the time was stepped, something that made
>  OSPF die in horror as it can't quite cope with the situation where
>  time goes backwards (no wonder).
> 
>   So the if-up.d call need to use the -B option orelse it's not safe to
>  have this package installed on production systems.

Then you better just disable that and run only the ntp server.
Most machines out there need correct time (e.g. for correct log data).

The alternative solution would be to define a runlevel or whatever, 
where we KNOW that we now have external connection and step 
the time only then.

A third and very cheap alternative would be to ask the user, whether 
slewing or stepping is wanted and keep the ifup based solution.


Regards

Ingo Oeser




More information about the pkg-ntp-maintainers mailing list