hwclock has life of its own

Christopher Murtagh yellowdog-general@lists.terrasoftsolutions.com
Wed Jan 29 20:50:01 2003


On Wed, 29 Jan 2003, Aurel Wisse wrote:
>I think that the fact that both clock -r and clock -r
>--utc come up with the same time in your context is
>because, probably, the third line in your /etc/adjtime
>is UTC. 

 Yup.

[chris@mafalda chris]$ cat /etc/adjtime
-38961.332031 1043731977 0.000000
1043731977
UTC

 Although, I didn't set this manually. Is this the default? I did have to
change /etc/sysconfig/clock to UTC=true manually.

>Did you try /sbin/clock -r --localtime, for fun?

[chris@mafalda chris]$ /sbin/clock -r --localtime
Thu 30 Jan 2003 03:50:45 AM EST  -0.548219 seconds
[chris@mafalda chris]$ date
Wed Jan 29 22:50:52 EST 2003

ouch!

>I'll try tomorrow switching the hwclock to UTC and see what happens.

 Good luck! Let us know how it goes.

Cheers,

Chris

-- 

Christopher Murtagh
Webmaster / Sysadmin
Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017