Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] My machine wakes up from hibernation in GMT time !?!?
Date: Tue, 10 Mar 2015 07:39:24
Message-Id: 2077053.GMNJHiK0Fb@navi
In Reply to: [gentoo-user] My machine wakes up from hibernation in GMT time !?!? by Walter Dnes
On Monday, March 09, 2015 10:20:39 PM Walter Dnes wrote:
> 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 > >
Are you using OpenRC? If so, do you have the hwclock init script set to run at boot? -- Fernando Rodriguez

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] My machine wakes up from hibernation in GMT time !?!? Walter Dnes <waltdnes@××××××××.org>