[Bug 212237] New: localtime set to something not in zone.tab confuses KDE

jay tsuraan at gmail.com
Wed Oct 28 21:09:12 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=212237

           Summary: localtime set to something not in zone.tab confuses
                    KDE
           Product: kde
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: tsuraan at gmail.com


Version:            (using KDE 4.3.2)
Compiler:          gcc 4.4.1 
OS:                Linux
Installed from:    Gentoo Packages

Gentoo ships a ton of zoneinfo files that are not in the format continent/city.
 US/Central, for example.  These files do not show up in zone.tab, but appear
to be hardlinks to files that are in zone.tab.  A selection of this links (from
(cd /usr/share/zoneinfo && find -type f -exec ls -i {} \; | sort | less)) is:

2017225 ./America/Manaus
2017225 ./Brazil/West
2017226 ./America/Sao_Paulo
2017226 ./Brazil/East
2017269 ./America/Los_Angeles
2017269 ./US/Pacific
2017269 ./US/Pacific-New
2017284 ./America/Indiana/Knox
2017284 ./America/Knox_IN
2017284 ./US/Indiana-Starke
2017357 ./America/Chicago
2017357 ./US/Central

There are probably around a hundred Nation/Region files that don't show up in
zone.tab, but are hardlinks to legitimate Continent/City files.

If a user has /etc/localtime linked to one of these files (I had /etc/localtime
-> /usr/share/zoneinfo/US/Central), KDE's date and time will attempt to choose
something similar (I got America/Cancun for my timezone; both are GMT-6, but
Central has daylight savings).  Attempts to change this will appear to succeed
but be reset on the next login, and attempts to delete
.kde4/share/config/ktimezonedrc will result in it being re-created on the next
login.  There is no warning or any other obvious indicator that this is
happening; I just kept getting my KDE timezone set back to Cancun.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list