Clock?
C. Scott Ananian
cscott at laptop.org
Sun Dec 23 17:53:28 EST 2007
On Dec 23, 2007 4:55 PM, Bernardo Innocenti <bernie at codewiz.org> wrote:
> Jerry Van Baren wrote:
>
> > Hmmm, odd. After setting the hwclock with --utc, my /etc/adjtime has
> > "UTC" but, when I cycled power, my system clock was off by my timezone.
> > Ahh, my /etc/adjtime has "0" instead of "UTC" on the second line.
>
> This is probably because adjtime is marked writable in /etc/rwtab,
> but not preserved in /etc/statetab. I'll fix that.
Bernie, be sure to open a trac bug so that we can get this into
Update.1 if possible.
(Just to clarify, it should be *moved* from /etc/rwtab to
/etc/statetab, not just added to statetab -- but I'm not 100%
confident that this is correct. Please read the man page for hwclock
carefully. I think we should really be passing --noadjfile to
hwclock, and if /etc/sysconfig/clock actually states UTC=true (trac
#5648) then adjtime should not have the UTC offset in it.)
--scott
--
( http://cscott.net/ )
More information about the Devel
mailing list