2013-04-21 19:09:10

by Jeffrey Merkey

[permalink] [raw]
Subject: Centos 6.3 (2.6.33) hwclock not defaulting to --directisa mode on select() timeout util-linux

On the older P4 systems from HP, the util-linux hwclock is no longer
defaulting to --directisa port setting mode if the select() timeout
fails. It only shows up when you have an old PC with a battery that's
screwed up on the motherboard and the clock doesn't stay up to date.
But whether this is the case or not, ntpdate and ntpd should still be
able to update the system time and resync the hwclock. I fixed it by
adding --directisa to the /etc/rc.d/rc.sysinit script but the
util-linux should default anyway if there is a failure as a failsafe