[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifupdown writes to /etc... a bug?


On Fri, Mar 28, 2003 at 01:56:51AM +0100, Russell Coker wrote:

> I agree.  /var is a good place for ntp.drift.  adjtime is another issue 
> however, don't we want to read that before starting daemons in the case of a 
> machine that has been powered down for a while?

Probably, but I'd say you'd generally start those daemons after mounting

The system will already experience a small time bump halfway during boot
if you're running ntpdate, so it's not probably a problem if you'd use
adjtime only at that point either.

I.e. run hwclock --noadjfile --utc or hwclock --noadjfile --local
immediately at startup, bring up the network, mount /var, and then you
either run hwclock without the --noadjfile switch or ntpdate to set a
more accurate time. 

Only after that would you start most the daemons.



E-Advies - Emile van Bergen           emile@e-advies.nl      
tel. +31 (0)70 3906153           http://www.e-advies.nl    

Attachment: pgp8OzPneFmuz.pgp
Description: PGP signature

Reply to: