Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314069 - localization guide points to /usr/share/zoneinfo instead of usage tzselect utility
Summary: localization guide points to /usr/share/zoneinfo instead of usage tzselect ut...
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/guide-lo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 10:33 UTC by Sergey S. Starikoff
Modified: 2010-04-10 01:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2010-04-09 10:33:43 UTC
Gentoo Linux Localization Guide recommends to "Look for your timezone in /usr/share/zoneinfo" instead of usage of rather long ago present in Gentoo tzselect utility (part of sys-libs/timezone-data).

Reproducible: Always

Steps to Reproduce:
Read the "1.  Time zone" section of the guide. :)

Actual Results:  
Look for your timezone in /usr/share/zoneinfo.

Expected Results:  
Something like (excuse me my English):

Use tzselect utility to detect your timezone name.
Comment 1 Sergey S. Starikoff 2010-04-09 10:55:17 UTC
And one more:

(First copy the proper zone to localtime)
# cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime

Really copy?
May be better to make a symbolic link:

ln -s /usr/share/zoneinfo/Europe/Brussels /etc/localtime
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-09 18:38:05 UTC
(In reply to comment #1)
> And one more:
> 
> (First copy the proper zone to localtime)
> # cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime
> 
> Really copy?
> May be better to make a symbolic link:
> 
> ln -s /usr/share/zoneinfo/Europe/Brussels /etc/localtime

Symlinks are a no-go as /usr might be unavailable in the early boot process.
Comment 3 nm (RETIRED) gentoo-dev 2010-04-10 01:01:14 UTC
There are many other bugs explaining why we copy stuff rather than symlink, as Lars said.

Also, we won't be using tzselect, because you still have to look inside /usr/share/zoneinfo for a timezone anyway. So it's not really any additional work to just copy the desired timezone.