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
1 On Monday, March 09, 2015 10:20:39 PM Walter Dnes wrote:
2 > I'm in Canada/Eastern timezone. For some reason, my machine seems to
3 > come up in GMT when waking up from hibernation. This started happening
4 > a week or two ago. I do not think this is related to my conversion and
5 > re-install from 32-bit to 64-bit. I worked OK for a while. Only
6 > recently did it start waking up with the clock 5 hours ahead of Eastern
7 > Standard (i.e. GMT). Since the time change this past Sunday, it's been
8 > waking up 4 hours ahead of Eastern Daylight. It definitely looks like
9 > it's coming up in GMT. I reset it to Eastern time, but after
10 > hibernation and wakeup, it comes up GMT. I don't know why. Any ideas?
11 > Here are the contents of...
12 >
13 > /etc/hibernate/hibernate.conf
14 > /etc/timezone
15 > /etc/conf.d/hwclock
16 >
17 > ...a sanity-check on /etc/local/timezone
18 >
19 > ...my script to manually sync my machine clock.
20 >
21 > ============================================================
22 >
23 > [d531][waltdnes][~] grep -v ^# /etc/hibernate/hibernate.conf
24 >
25 > TryMethod disk.conf
26 > Distribution gentoo
27 > EnsureLILOResumes yes
28 > LogVerbosity 3
29 > LogFile /var/log/hibernate.log
30 > PowerdownMethod shutdown
31 > RestartServices sshd
32 > OnResume 00 /bin/cat /home/waltdnes/.appointments
33 >
34 > ==================================================
35 >
36 > [d531][waltdnes][~] cat /etc/timezone
37 > Canada/Eastern
38 >
39 > ==================================================
40 >
41 > [d531][waltdnes][~] grep -v ^# /etc/conf.d/hwclock
42 > clock="local"
43 >
44 > clock_hctosys="YES"
45 >
46 > clock_systohc="YES"
47 >
48 > clock_args=""
49 >
50 > ==================================================
51 >
52 > [d531][waltdnes][~] diff -s /etc/localtime /usr/share/zoneinfo/Canada/Eastern
53 > Files /etc/localtime and /usr/share/zoneinfo/Canada/Eastern are identical
54 >
55 > ==================================================
56 >
57 > [d531][waltdnes][~] cat bin/settime
58 > #!/bin/bash
59 > date
60 > /usr/bin/sudo /usr/bin/openrdate -n -s ca.pool.ntp.org
61 > /usr/bin/sudo /sbin/hwclock --systohc
62 > date
63 >
64 >
65
66 Are you using OpenRC?
67 If so, do you have the hwclock init script set to run at boot?
68
69 --
70 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>