OK, I know what's doing it but not why. I did an ntp-reset this
afternoon, and tonight when I booted I got the error message.
alias ntp-reset='ntpdate 0.us.pool.ntp.org;hwclock -w'
[00:18 ~]$ cat /var/lib/hwclock/adjtime
-0.048259 1435366987 0.000000
1435366987
LOCAL
[00:19 ~]$ echo z${TZ}z
zz
$ ls-l /etc/localtime
... /etc/localtime -> ../usr/share/zoneinfo/PST8PDT
#
/etc/sysconfig/clock: UTC=0
/etc/init.d/setclock:
___8<...
case "${UTC}" in
yes|true|1)
CLOCKPARAMS="--utc"
;;
no|false|0)
CLOCKPARAMS="--localtime"
;;
esac
case ${1} in
start)
log_init_msg "Setting system clock..."
hwclock --hctosys ${CLOCKPARAMS} >/dev/null \
&& log_success_msg || log_failure_msg
;;
___8<...
I suppose a workaround is to put --localtime in my alias. But I think
the real answer is to understand why hwclock isn't picking up all the
places it was told it's local time.
--
Paul Rogers
[email protected]
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL
:-)
--
http://www.fastmail.com - Or how I learned to stop worrying and
love email again
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page