After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587769 - Selected time zone replaced
Selected time zone replaced
Status: RESOLVED DUPLICATE of bug 354661
Product: gnome-system-tools
Classification: Deprecated
Component: time-admin
unspecified
Other All
: Normal normal
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2009-07-04 19:12 UTC by era+gnome
Modified: 2009-07-05 10:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
In case you don't know where Helsinki is ... (159.62 KB, image/png)
2009-07-04 19:17 UTC, era+gnome
Details

Description era+gnome 2009-07-04 19:12:57 UTC
Please describe the problem:
I am unable to select Europe/Helsinki as my time zone in the time-admin interface and have it stick.  The next time I open time-admin, it shows Europe/Mariehamn as my location.  Apparently other locations have this issue as well.

Steps to reproduce:
1. Open System > Administration > Time and Date and click on the Time zone: indicator
2. On the map widget, navigate to Helsinki and click it.  Verify that Europe/Helsinki is visible as your selection.
3. Close the map widget, verify that Europe/Helsinki is selected in the Time and Date dialog box: close the dialog, too.

Actual results:
Next time you open System > Administration > Time and Date, it shows Europe/Mariehamn as your time zone location.

Expected results:
It should show the time zone I selected, and which was correctly written to /etc/timezone: Europe/Helsinki

Does this happen every time?
Yes

Other information:
https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/16285 is the corresponding Ubuntu bug; it has some other locations with similar symptoms.

Like I remark in comment #8 for that bug, this seems very similar to e.g. bug #519823 and I speculate that the root cause is identical.
Comment 1 era+gnome 2009-07-04 19:17:31 UTC
Created attachment 137844 [details]
In case you don't know where Helsinki is ...
Comment 2 era+gnome 2009-07-05 10:08:50 UTC
As indicated in the Ubuntu bug, the problem is that liboobs compares /etc/localtime to available time zones, and arbitrarily picks an identical file from /usr/share/zoneinfo.  Because there are some duplicates in the zoneinfo files, this occasionally produces the wrong result.  On a recent Ubuntu installation, the following discrepancies are present:

Antarctica/South_Pole != Antarctica/McMurdo
Europe/Helsinki != Europe/Mariehamn
Europe/Guernsey != Europe/London
America/Guadeloupe != America/St_Barthelemy
Europe/Zagreb != Europe/Sarajevo
Europe/Isle_of_Man != Europe/London
Europe/Jersey != Europe/London
Europe/Podgorica != Europe/Sarajevo
America/Marigot != America/St_Barthelemy
Europe/Skopje != Europe/Sarajevo
Europe/Belgrade != Europe/Sarajevo
Europe/Ljubljana != Europe/Sarajevo
Arctic/Longyearbyen != Europe/Oslo
Europe/Bratislava != Europe/Prague
Europe/San_Marino != Europe/Rome
America/Shiprock != America/Denver
Europe/Vatican != Europe/Rome

Out of these, I would regard Bratislava and Helsinki as the most grave.

Should I file a separate bug against gnome-systems-backend or liboobs, or can this bug be reassigned to either of those?

https://bugs.launchpad.net/ubuntu/+source/system-tools-backends/+bug/16285/comments/10 has a somewhat more detailed analysis.
Comment 3 era+gnome 2009-07-05 10:24:25 UTC
Oops, already reported.  Please mark as duplicate of bug #354661
Comment 4 era+gnome 2009-07-05 10:26:01 UTC

*** This bug has been marked as a duplicate of 354661 ***