I've hosed my clock setup
Kevin O'Gorman
kevin
Mon May 17 11:51:00 PDT 2004
I don't know what I did the last time I went to adjust my machine's
clock, but it seems Linux no longer talks nice to the hardware clock.
Every time I boot, the clock is off by 7 hours, and for my setup
thats usually once a day (no fault of Linux, I just have to shut this
off at night).
The system is RH 7.3, and the contents of /etc/sysconfig/clock are
ZONE="America/Los_Angeles"
UTC=false
ARC=false
I keep the hardware clock in local time because I dual-boot to other
OS-es once in a while. Here's what it looks like:
[root at treat rc.d]# /sbin/hwclock -r
Fri 15 Aug 2003 07:53:56 AM PDT 0.849306 seconds
[root at treat rc.d]# /sbin/hwclock -r --localtime
Fri 15 Aug 2003 07:54:12 AM PDT 0.268908 seconds
[root at treat rc.d]# /sbin/hwclock -r --utc
Fri 15 Aug 2003 12:54:18 AM PDT 0.280746 seconds
[root at treat rc.d]#
However, on each reboot KDE's clock in the panel, and the 'date'
program both report time as if I used UTC; in the above example
that was 12:54 AM.
I'm baffled and sleepless in California.....
++ kevin
More information about the Linux-users
mailing list