Timezone in Gentoo [was: Re: Getting/Setting the system timezone]

Donnie Berkholz dberkholz at gentoo.org
Tue Apr 8 11:10:43 PDT 2008


On 18:37 Tue 08 Apr     , Vincent Untz wrote:
>  + what is the right way to set /etc/localtime? I think copying the file
>    is the best thing to do, but I have no idea if that's what all distro
>    expect.

Gentoo does a copy.

>  + the timezone is also described in:
>    - Fedora/Mandriva: /etc/sysconfig/clock (needs to be parsed to get
>      the ZONE= line)
>    - openSUSE: /etc/sysconfig/clock (same but with TIMEZONE=)
>    - Debian/Ubuntu: /etc/timezone (only contains the name of the
>      timezone)
>    - openSolaris: (not sure, guessing from some code I have):
>      /etc/TIMEZONE (needs to be parsed to get the TZ= line)

Gentoo: previously /etc/conf.d/clock but it looks like we´re moving to 
the /etc/timezone approach of Debian/Ubuntu.

Thanks,
Donnie


More information about the Distributions mailing list