Re: [chrony-dev] can chrony adjust H/W clock too ?q:q

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Wed, Apr 21, 2010 at 03:43:24PM +0530, J. Bakshi wrote:
> > The point was not to use both hwclock AND chrony to condition the RTC 
> > since they are both trying to do the same job independently and will 
> > fight...
> 
> This is the very point which I was asking for. If chrony itself
> takes care off rtc then there is no need to use hwclock individually
> through cron.

Depends on what you mean by take care. If you need RTC synced to
correct time, you will need to periodically run chronyc writertc
command. OTOH, RTC with ntpd is always synced as the adjtimex UNSYNC
flag is unset and kernel writes to RTC system time every 11 minutes.

We can add an option to unset the UNSYNC flag in chrony too (would be
allowed only if rtcfile is disabled).

If you only need time compensated for drift when setting system clock
from RTC on start, you can use chronyd -r or hwclock --adjust.
 
Having rtcfile directive in chrony.conf only enables RTC tracking, it
doesn't write to RTC nor set system clock from RTC on start unless the
-r option is used.

-- 
Miroslav Lichvar

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/