List, I some how have my time settings in all messed up state.
I want to keep my hardware clock in UTC but have my Server in America/Los_Angles
So Here's what I have
hydrogen root # grep -R CLOCK /etc/*
/etc/init.d/clock: if [ "${CLOCK}" = "UTC" ]
/etc/init.d/clock: if [ "${CLOCK}" = "UTC" ]
/etc/rc.conf:# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
/etc/rc.conf:# Greenwich Mean Time). If your clock is set to the local time, then set CLOCK
/etc/rc.conf:CLOCK="local"
hydrogen root # cat /etc/adjtime -88918.485321 1112535620 0.000000 1112535620 UTC
hydrogen root # hwclock --show --utc Sun Apr 3 06:48:45 2005 -0.809294 seconds
hydrogen root # date Thu Apr 7 17:25:43 PDT 2005
hydrogen root # ls -l /etc/localtime
lrwxrwxrwx 1 root root 39 Feb 12 11:15 /etc/localtime -> /usr/share/zoneinfo/America/Los_Angeles
When I say `hwclock --show --utc` it shows the correct UTC time, when I say date it's way off. If I reboot both times will be way different, like a few days or something. Right now I don't have clock started, see:
hydrogen root # rc-update -s |grep clock clock |
What should I do?
/djb
-- gentoo-user@gentoo.org mailing list