public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] new timezone data requires setting a symlink by hand
@ 2008-07-31 11:27 Helmut Jarausch
  2008-07-31 11:41 ` Sebastian Wiesner
  0 siblings, 1 reply; 11+ messages in thread
From: Helmut Jarausch @ 2008-07-31 11:27 UTC (permalink / raw
  To: gentoo-user

Hi,

am I doing something wrong?

Whenever I emerge a new sys-libs/timezone-data
I need to do afterwards

rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime

(This is with baselayout-2.0.0)

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] new timezone data requires setting a symlink by hand
  2008-07-31 11:27 [gentoo-user] new timezone data requires setting a symlink by hand Helmut Jarausch
@ 2008-07-31 11:41 ` Sebastian Wiesner
  2008-07-31 12:10   ` Justin
  2008-07-31 15:31   ` [gentoo-user] " Helmut Jarausch
  0 siblings, 2 replies; 11+ messages in thread
From: Sebastian Wiesner @ 2008-07-31 11:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

Helmut Jarausch <jarausch@igpm.rwth-aachen.de> at Thursday 31 July 2008, 
13:27:24
> Hi,
>
> am I doing something wrong?
>
> Whenever I emerge a new sys-libs/timezone-data
> I need to do afterwards
>
> rm -f /etc/localtime
> ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
>
> (This is with baselayout-2.0.0)
>
> Many thanks for a hint,

Why don't you just create /etc/timezone with "Europe/Berlin" as content?

-- 
Freedom is always the freedom of dissenters.
                                      (Rosa Luxemburg)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] new timezone data requires setting a symlink by hand
  2008-07-31 11:41 ` Sebastian Wiesner
@ 2008-07-31 12:10   ` Justin
  2008-07-31 13:13     ` [gentoo-user] " Anno v. Heimburg
  2008-07-31 15:31   ` [gentoo-user] " Helmut Jarausch
  1 sibling, 1 reply; 11+ messages in thread
From: Justin @ 2008-07-31 12:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

Sebastian Wiesner schrieb:
> Helmut Jarausch <jarausch@igpm.rwth-aachen.de> at Thursday 31 July 2008, 
> 13:27:24
>   
>> Hi,
>>
>> am I doing something wrong?
>>
>> Whenever I emerge a new sys-libs/timezone-data
>> I need to do afterwards
>>
>> rm -f /etc/localtime
>> ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
>>
>> (This is with baselayout-2.0.0)
>>
>> Many thanks for a hint,
>>     
>
> Why don't you just create /etc/timezone with "Europe/Berlin" as content?
>
>   
I think this way is the more correcct one. according to the OpenRC 
migration guide:

Additionally, the TIMEZONE variable is no longer in this file. Its 
contents are instead found in the /etc/timezone file. If it doesn't 
exist, you will of course have to create it with your timezone. Please 
review both of these files to ensure their correctness.

The proper value for this file is the path relative to your timezone 
from /usr/share/zoneinfo. For example, for someone living on the east 
coast of the United States, the following would be a correct setting:

Code Listing 2.10: /etc/timezone

America/New_York
      




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: new timezone data requires setting a symlink by hand
  2008-07-31 12:10   ` Justin
@ 2008-07-31 13:13     ` Anno v. Heimburg
  2008-07-31 13:27       ` Daniel Pielmeier
  0 siblings, 1 reply; 11+ messages in thread
From: Anno v. Heimburg @ 2008-07-31 13:13 UTC (permalink / raw
  To: gentoo-user


>> Why don't you just create /etc/timezone with "Europe/Berlin" as content?

Huh? I always thought the proper place was the TIMEZONE variable
in /etc/conf.d/clock:

TIMEZONE="Europe/Berlin"





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: new timezone data requires setting a symlink by hand
  2008-07-31 13:13     ` [gentoo-user] " Anno v. Heimburg
@ 2008-07-31 13:27       ` Daniel Pielmeier
  2008-07-31 13:50         ` Nikos Chantziaras
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel Pielmeier @ 2008-07-31 13:27 UTC (permalink / raw
  To: gentoo-user

2008/7/31, Anno v. Heimburg <anno@vonheimburg.de>:
> Huh? I always thought the proper place was the TIMEZONE variable
> in /etc/conf.d/clock:

It was he proper place in pre baselayout-2 and openrc times! Now the
proper place for gentoo is /etc/timezone!



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: new timezone data requires setting a symlink by hand
  2008-07-31 13:27       ` Daniel Pielmeier
@ 2008-07-31 13:50         ` Nikos Chantziaras
  2008-07-31 14:01           ` Sven Köhler
  0 siblings, 1 reply; 11+ messages in thread
From: Nikos Chantziaras @ 2008-07-31 13:50 UTC (permalink / raw
  To: gentoo-user

Daniel Pielmeier wrote:
> 2008/7/31, Anno v. Heimburg <anno@vonheimburg.de>:
>> Huh? I always thought the proper place was the TIMEZONE variable
>> in /etc/conf.d/clock:
> 
> It was he proper place in pre baselayout-2 and openrc times! Now the
> proper place for gentoo is /etc/timezone!

So do we keep TIMEZONE in conf.d/clock or delete it?




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: new timezone data requires setting a symlink by hand
  2008-07-31 13:50         ` Nikos Chantziaras
@ 2008-07-31 14:01           ` Sven Köhler
  2008-07-31 14:26             ` Nikos Chantziaras
  0 siblings, 1 reply; 11+ messages in thread
From: Sven Köhler @ 2008-07-31 14:01 UTC (permalink / raw
  To: gentoo-user

> So do we keep TIMEZONE in conf.d/clock or delete it?

There is no /etc/conf.d/clock anymore in openrc/baselayout 2.0.

The openrc file is called /etc/conf.d/hwclock, and there's no TIMEZONE 
variable in that file.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: new timezone data requires setting a symlink by hand
  2008-07-31 14:01           ` Sven Köhler
@ 2008-07-31 14:26             ` Nikos Chantziaras
  0 siblings, 0 replies; 11+ messages in thread
From: Nikos Chantziaras @ 2008-07-31 14:26 UTC (permalink / raw
  To: gentoo-user

Sven Köhler wrote:
>> So do we keep TIMEZONE in conf.d/clock or delete it?
> 
> There is no /etc/conf.d/clock anymore in openrc/baselayout 2.0.
> 
> The openrc file is called /etc/conf.d/hwclock, and there's no TIMEZONE 
> variable in that file.

Ah, oops, I'm on stable.  Baselayout 2 is ~amd64.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] new timezone data requires setting a symlink by hand
  2008-07-31 11:41 ` Sebastian Wiesner
  2008-07-31 12:10   ` Justin
@ 2008-07-31 15:31   ` Helmut Jarausch
  2008-07-31 17:11     ` Justin
  2008-07-31 23:26     ` [gentoo-user] " ABCD
  1 sibling, 2 replies; 11+ messages in thread
From: Helmut Jarausch @ 2008-07-31 15:31 UTC (permalink / raw
  To: gentoo-user

On 31 Jul, Sebastian Wiesner wrote:
> Helmut Jarausch <jarausch@igpm.rwth-aachen.de> at Thursday 31 July 2008, 
> 13:27:24
>> Hi,
>>
>> am I doing something wrong?
>>
>> Whenever I emerge a new sys-libs/timezone-data
>> I need to do afterwards
>>
>> rm -f /etc/localtime
>> ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
>>
>> (This is with baselayout-2.0.0)
>>
>> Many thanks for a hint,
> 
> Why don't you just create /etc/timezone with "Europe/Berlin" as content?
> 

Thanks, but it doesn't work here. I must be doing something wrong.

Now,
I have deleted /etc/localtime
/etc/conf.d/hwclock contains
clock="local"
(which is recommended for a dual boot system with Windows)

For /etc/timezone
I have tried both
Europe/Berlin

and alternatively
"Europe/Berlin"

In both cases I get GMT instead of my local time here.

Many thanks for a further hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] new timezone data requires setting a symlink by hand
  2008-07-31 15:31   ` [gentoo-user] " Helmut Jarausch
@ 2008-07-31 17:11     ` Justin
  2008-07-31 23:26     ` [gentoo-user] " ABCD
  1 sibling, 0 replies; 11+ messages in thread
From: Justin @ 2008-07-31 17:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]


> Thanks, but it doesn't work here. I must be doing something wrong.
>
> Now,
> I have deleted /etc/localtime
> /etc/conf.d/hwclock contains
> clock="local"
> (which is recommended for a dual boot system with Windows)
>
> For /etc/timezone
> I have tried both
> Europe/Berlin
>
> and alternatively
> "Europe/Berlin"
>
> In both cases I get GMT instead of my local time here.
>
> Many thanks for a further hint,
> Helmut.
>
>   

second


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: new timezone data requires setting a symlink by hand
  2008-07-31 15:31   ` [gentoo-user] " Helmut Jarausch
  2008-07-31 17:11     ` Justin
@ 2008-07-31 23:26     ` ABCD
  1 sibling, 0 replies; 11+ messages in thread
From: ABCD @ 2008-07-31 23:26 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Helmut Jarausch wrote:
> Thanks, but it doesn't work here. I must be doing something wrong.
> 
> Now,
> I have deleted /etc/localtime
> /etc/conf.d/hwclock contains
> clock="local"
> (which is recommended for a dual boot system with Windows)
> 
> For /etc/timezone
> I have tried both
> Europe/Berlin
> 
> and alternatively
> "Europe/Berlin"
> 
> In both cases I get GMT instead of my local time here.
> 

try:

# echo Eurpoe/Berlin >/etc/timezone
# emerge --config sys-libs/timezone-data

NB: this will only need to be done this once, after that, an update of
sys-libs/timezone-data will automatically update /etc/localtime

- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiSSkMACgkQOypDUo0oQOrxIQCdG0Azwij5Pc76iy6kwXoa1Y95
QxAAoN4lgcncAliE5YQ8ZUYSPp7JCRbc
=8uRF
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-07-31 23:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 11:27 [gentoo-user] new timezone data requires setting a symlink by hand Helmut Jarausch
2008-07-31 11:41 ` Sebastian Wiesner
2008-07-31 12:10   ` Justin
2008-07-31 13:13     ` [gentoo-user] " Anno v. Heimburg
2008-07-31 13:27       ` Daniel Pielmeier
2008-07-31 13:50         ` Nikos Chantziaras
2008-07-31 14:01           ` Sven Köhler
2008-07-31 14:26             ` Nikos Chantziaras
2008-07-31 15:31   ` [gentoo-user] " Helmut Jarausch
2008-07-31 17:11     ` Justin
2008-07-31 23:26     ` [gentoo-user] " ABCD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox