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