Red Hat Bugzilla – Bug 24281
halt script breaks RTC set to UTC
Last modified: 2014-03-16 22:18:14 EDT
/etc/init.d/halt contains the line
runcmd "Syncing hardware clock to system time" /sbin/hwclock --systohc
This writes the local time to the hardware RTC disregarding that it might
be set to UTC, giving a clock scew on each shutdown.
A fix would be to do the same as in the rc.sysinit script (and ofcourse
replace --hctosys with --systohc).
This is fixed in 5.55-1 or so.