On Tue, 2003-02-11 at 12:28, Todd A. Jacobs wrote:
> On Tue, 11 Feb 2003, Bret Hughes wrote:
> 
> > Aparently dhcpd is rewriting ntp.conf in 7.3 also the drift file is
> > incorrect.  hmmm I guess I will have to dig around when I get some time.
> 
> You can safely throw away the drift file when ntpd isn't running. All it 
> does is introduce a skew to the clock discipline, intended to compensate 
> for fast or slow clocks. It will get rebuilt next time the daemon starts.
> 
> Over about three days the drift file will be set to appropriate values. It
> really isn't a big deal if the drift isn't all that accurate, as it's
> impact on actual kernel time discipline is miniscule. A wrong drift value
> will (at worst) create more frequest step/skew adjustments until the drift
> value stabilizes.
> 
> > What does 8.X use for a drift file when it builds ntp.conf?
> 
> It will use whatever value is in ntp.conf. If the file doesn't exist, it 
> wil be created at runtime.
> 
I was wondering about the dhcpcd portion. In 7.3 a network restart
rebuilds the ntp.conf file and the driftfile setting is overwritten to
/etc/ntp.drift instead of /etc/ntp/drift.  The ntp user does not have
perms to create a file in /etc.  I guess this is different behavior than
on 7.3. 

> > What can be set in /etc/sysconfig/ntp?
> 
> The values in this file are options passed to the daemon. The file is
> sourced from /etc/init.d/ntpd.
> 

I see it now and am going to try and override the incorrect setting
created by dhcpd usng -f in the syconfig/ntpd file

Thanks for the feed back.

Bret



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to