Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] My machine wakes up from hibernation in GMT time !?!?
Date: Tue, 10 Mar 2015 02:20:51
Message-Id: 20150310022039.GA15212@waltdnes.org
I'm in Canada/Eastern timezone.  For some reason, my machine seems to
come up in GMT when waking up from hibernation.  This started happening
a week or two ago.  I do not think this is related to my conversion and
re-install from 32-bit to 64-bit.  I worked OK for a while.  Only
recently did it start waking up with the clock 5 hours ahead of Eastern
Standard (i.e. GMT).  Since the time change this past Sunday, it's been
waking up 4 hours ahead of Eastern Daylight.  It definitely looks like
it's coming up in GMT.  I reset it to Eastern time, but after
hibernation and wakeup, it comes up GMT.  I don't know why.  Any ideas?
Here are the contents of...

/etc/hibernate/hibernate.conf
/etc/timezone
/etc/conf.d/hwclock

...a sanity-check on /etc/local/timezone

...my script to manually sync my machine clock.

============================================================

[d531][waltdnes][~] grep -v ^# /etc/hibernate/hibernate.conf

TryMethod disk.conf
Distribution gentoo
EnsureLILOResumes yes
LogVerbosity 3
LogFile /var/log/hibernate.log
PowerdownMethod shutdown
RestartServices sshd
OnResume 00 /bin/cat /home/waltdnes/.appointments

==================================================

[d531][waltdnes][~] cat /etc/timezone 
Canada/Eastern

==================================================

[d531][waltdnes][~] grep -v ^# /etc/conf.d/hwclock 
clock="local"

clock_hctosys="YES"

clock_systohc="YES"

clock_args=""

==================================================

[d531][waltdnes][~] diff -s /etc/localtime /usr/share/zoneinfo/Canada/Eastern 
Files /etc/localtime and /usr/share/zoneinfo/Canada/Eastern are identical

==================================================

[d531][waltdnes][~] cat bin/settime 
#!/bin/bash
date
/usr/bin/sudo /usr/bin/openrdate -n -s ca.pool.ntp.org
/usr/bin/sudo /sbin/hwclock --systohc
date

-- 
Walter Dnes <waltdnes@××××××××.org>
I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] My machine wakes up from hibernation in GMT time !?!? Fernando Rodriguez <frodriguez.developer@×××××××.com>