Gentoo Archives: gentoo-amd64

From: Beso <givemesugarr@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Problem with latest timezone update?
Date: Wed, 16 Jan 2008 19:33:25
Message-Id: d257c3560801161133n6ecf6eefoe293d149e13f0fe0@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Problem with latest timezone update? by Mark Knecht
1 that's one reason to use dispatch-conf over etc-update... at least you have
2 the diff on the files that are to be modified and you can chose what to do
3 file per file...
4
5 2008/1/16, Mark Knecht <markknecht@×××××.com>:
6 >
7 > On Jan 16, 2008 9:49 AM, Mark Knecht <markknecht@×××××.com> wrote:
8 > >
9 > > On Jan 16, 2008 5:09 AM, Mark Haney <mhaney@××××××××××××.org> wrote:
10 > > > Drake Donahue wrote:
11 > > > >
12 > > > > ----- Original Message ----- From: "Mark Haney" <
13 > mhaney@××××××××××××.org>
14 > > > > To: <gentoo-amd64@l.g.o>
15 > > > > Sent: Tuesday, January 15, 2008 10:22 AM
16 > > > > Subject: [gentoo-amd64] Problem with latest timezone update?
17 > > > >
18 > > > >
19 > > > >> Okay, here's something I can't seem to figure out. My laptop time
20 > > > >> doesn't want to stay sync'd. I always run ntpd at boot time to
21 > keep
22 > > > >> it in sync, but now, when I boot without an ethernet cable hooked
23 > up,
24 > > > >> it's over 5 hours off. It didn't do this until I updated the
25 > timezone
26 > > > >> just after Christmas. /etc/conf.d/clock is set to my timezone
27 > > > >> (EST5EDT) and /etc/localtime is symlinked to the correct timezone.
28 > > > >>
29 > > > >> I thought maybe the BIOS clock was wrong, but it's not 5 hours off,
30 > > > >> maybe a minute or so. I tried setting the HWclock to system time
31 > and
32 > > > >> that didn't fix it. Any ideas on what else to try?
33 > > > >>
34 > > > > Could it be this simple? Quoting:
35 > > > >
36 > > > > # /etc/conf.d/clock
37 > > > >
38 > > > > # Set CLOCK to "UTC" if your system clock is set to UTC (also known
39 > as
40 > > > > # Greenwich Mean Time). If your clock is set to the local time,
41 > then #
42 > > > > set CLOCK to "local". Note that if you dual boot with Windows, then
43 > #
44 > > > > you should set it to "local".
45 > > > >
46 > > > > CLOCK="local"
47 > > > >
48 > > >
49 > > > Yeah it could very well be. I didn't notice that before, but for some
50 > > > reason this file was changed. It's possible I did it and not realize
51 > > > it, but I was almost certain that I didn't update that file when I ran
52 > > > dispatch-conf. But then again, one of my other personalities might
53 > have
54 > > > done it. I'll have to ask around and see which one could have been
55 > the
56 > > > perp. Thanks for picking that up.
57 > > >
58 > >
59 > > I'm having problems after an emerge -DuN system this morning. What's
60 > > the proper solution to this?
61 > >
62 > > dragonfly ~ # date
63 > > Wed Jan 16 17:45:44 Local time zone must be set--see zic manual page
64 > 2008
65 > > dragonfly ~ #
66 > >
67 > > My mythbackend server is Linux only. The clock line is currently set
68 > > to UTC. timezone is Los Angeles as it's always been. It's 9:45 as I
69 > > write this but the clock thinks it's 17:45. 8 hours ahead is GMT,
70 > > right?
71 > >
72 > > The hardware clock seems to be on GMT:
73 > >
74 > > dragonfly ~ # hwclock -r
75 > > Wed Jan 16 17:46:35 2008 -0.584758 seconds
76 > > dragonfly ~ #
77 > >
78 > > It seems the localtime file is messed up?
79 > >
80 > > dragonfly ~ # cat /usr/share/zoneinfo/localtime
81 > > TZif21Local time zone must be set--see zic manual pageTZif21Local time
82 > > zone must be set--see zic manual page
83 > > <Local time zone must be set--see zic manual page>0
84 > > dragonfly ~ #
85 > >
86 > > Isn't that supposed to be a link to Los_Angeles in my case? Going to
87 > > check the latest install docs.
88 > >
89 > > - Mark
90 > >
91 > OK, the timezone update wiped out the /etc/localtime file. From the
92 > kernel config page:
93 >
94 > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
95 >
96 > it tells me to copy Los_Angeles to /etc/localtime. After I did that I
97 > see this with date:
98 >
99 > dragonfly ~ # date
100 > Wed Jan 16 09:55:51 PST 2008
101 > dragonfly ~ #
102 >
103 > - Mark
104 > --
105 > gentoo-amd64@l.g.o mailing list
106 >
107 >
108
109
110 --
111 dott. ing. beso

Replies

Subject Author
Re: [gentoo-amd64] Problem with latest timezone update? Steev Klimaszewski <steev@g.o>