Package: system-tools-backends
Version: 2.6.0-2ubuntu8
Severity: normal
Tags: patch l10n
Some timezones are getting misreported as a different timezone. At least,
Helsinki is misreported as Mariehamn and Belgrade is misreported as Sarajevo.
This is because g-s-t checks for a zoneinfo match for /etc/localetime, but
there may be more than one and it just takes the first match. Rather,
according to Debian policy since 4.0 (http://wiki.debian.org/TimeZoneChanges),
/etc/timezone should be checked.
There are upstream and downstream bugs:
http://bugzilla.gnome.org/show_bug.cgi?id=354661
https://bugs.launchpad.net/ubuntu/+source/system-tools-backends/+bug/43644
I'll attach the small patch needed to fix this.
-- System Information:
Debian Release: 5.0
APT prefers jaunty-updates
APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: i386 (i686)
Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages system-tools-backends depends on:
ii adduser 3.110ubuntu5 add and remove users and groups
ii libc6 2.9-4ubuntu6 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.12-0ubuntu2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.80-3 simple interprocess messaging syst
ii libglib2.0-0 2.20.1-0ubuntu2 The GLib library of C routines
ii libnet-dbus-perl 0.33.6-1build2 Extension for the DBus bindings
ii libpolkit-dbus2 0.9-2ubuntu1 library for accessing PolicyKit vi
ii libpolkit2 0.9-2ubuntu1 library for accessing PolicyKit
ii lsb-base 3.2-20ubuntu4 Linux Standard Base 3.2 init scrip
system-tools-backends recommends no packages.
system-tools-backends suggests no packages.
-- no debconf information
Index: system-tools-backends-2.6.0/Time/TimeDate.pm
===================================================================
--- system-tools-backends-2.6.0.orig/Time/TimeDate.pm 2009-05-04 10:59:40.000000000 -0400
+++ system-tools-backends-2.6.0/Time/TimeDate.pm 2009-05-04 11:01:13.000000000 -0400
@@ -200,13 +200,12 @@
{
fn =>
{
- ZONEINFO => "/usr/share/zoneinfo",
- LOCAL_TIME => "/etc/localtime"
+ TIMEZONE => "/etc/timezone"
},
table =>
[
[ "local_time", \&get_utc_time ],
- [ "timezone", \&get_timezone, [LOCAL_TIME, ZONEINFO] ],
+ [ "timezone", \&Utils::Parse::get_first_line, TIMEZONE ],
]
},