Gentoo Archives: gentoo-user

From: Justin <justin@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new timezone data requires setting a symlink by hand
Date: Thu, 31 Jul 2008 12:10:59
Message-Id: 4891ABC9.3010804@j-schmitz.net
In Reply to: Re: [gentoo-user] new timezone data requires setting a symlink by hand by Sebastian Wiesner
1 Sebastian Wiesner schrieb:
2 > Helmut Jarausch <jarausch@××××××××××××××××.de> at Thursday 31 July 2008,
3 > 13:27:24
4 >
5 >> Hi,
6 >>
7 >> am I doing something wrong?
8 >>
9 >> Whenever I emerge a new sys-libs/timezone-data
10 >> I need to do afterwards
11 >>
12 >> rm -f /etc/localtime
13 >> ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
14 >>
15 >> (This is with baselayout-2.0.0)
16 >>
17 >> Many thanks for a hint,
18 >>
19 >
20 > Why don't you just create /etc/timezone with "Europe/Berlin" as content?
21 >
22 >
23 I think this way is the more correcct one. according to the OpenRC
24 migration guide:
25
26 Additionally, the TIMEZONE variable is no longer in this file. Its
27 contents are instead found in the /etc/timezone file. If it doesn't
28 exist, you will of course have to create it with your timezone. Please
29 review both of these files to ensure their correctness.
30
31 The proper value for this file is the path relative to your timezone
32 from /usr/share/zoneinfo. For example, for someone living on the east
33 coast of the United States, the following would be a correct setting:
34
35 Code Listing 2.10: /etc/timezone
36
37 America/New_York

Attachments

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

Replies

Subject Author
[gentoo-user] Re: new timezone data requires setting a symlink by hand "Anno v. Heimburg" <anno@×××××××××××.de>