1 |
On Wed, Jan 6, 2016 at 8:30 PM, Duncan <1i5t5.duncan@×××.net> wrote: |
2 |
> |
3 |
> Mark Knecht posted on Wed, 06 Jan 2016 07:38:15 -0800 as excerpted: |
4 |
> |
5 |
> > The solution to this is eluding me. What changes, other than changing |
6 |
> > /etc/timezone, are required to get a Gentoo machine to recognize that it |
7 |
> > has moved physically and is living in a new timezone? |
8 |
> > |
9 |
> > I've just moved from Silicon Valley to Tucson, AZ. The machine came up |
10 |
> > fine other than time being off by 1 hour which I expected. I changed |
11 |
> > /etc/timezone from America/Los_Angeles to America/Phoenix and rebooted |
12 |
> > and yet time is still showing California time. |
13 |
> > |
14 |
> > The system clock is UTC. [snipped] |
15 |
> |
16 |
> Welcome to AZ. I'm in Phoenix. Talking about time, the really nice |
17 |
> thing about AZ is that it doesn't do daylight savings time, so you don't |
18 |
> have to worry about time jumping around twice a year. =:^) |
19 |
> |
20 |
> I first read your message this AM, before work, but while I remembered |
21 |
> that there was another file to configure, I forgot what it was, and |
22 |
> didn't have time to look it up, so it had to wait until tonite. |
23 |
> |
24 |
> So I just looked it up in the handbook, and thus can point you right at |
25 |
> it. =:^) |
26 |
> |
27 |
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Timezone |
28 |
> |
29 |
> You did the first part of it, setting /etc/timezone, but didn't do the |
30 |
> second part, setting /etc/localtime, which is used by glibc to know your |
31 |
> timezone. You can either do it using the command in the handbook: |
32 |
> |
33 |
> emerge --config sys-libs/timezone-data |
34 |
> |
35 |
> ... or you can do it manually by copying the appropriate timezone file |
36 |
> from /usr/share/zoneinfo/ to /etc/localtime, for AZ: |
37 |
> |
38 |
> cp /usr/share/zoneinfo/America/Phoenix /etc/localtime |
39 |
<SNIP> |
40 |
|
41 |
Thanks Duncan. I looked at that file (cat /etc/timezone) for a moment |
42 |
this morning - the name is so obvious - but it was a binary and then |
43 |
for some reason I never followed up in Google. My bad. All fixed now. |
44 |
|
45 |
If you find yourself in Tucson let me know and I'll buy you a beer or |
46 |
two (or whatever you drink) for all the help over the years. |
47 |
|
48 |
Gotta say I'm digging all the jazz on NPR here at night. I was in the |
49 |
Bay Area for the last nearly 40 years and KQED up there is a power |
50 |
house station but nighttime radio was more or less a repeat of what's |
51 |
on during the day. The Tucson station is more varied. |
52 |
|
53 |
Cheers, |
54 |
Mark |