Bug 15770 - drakclock shows some nonsensical timezones
Summary: drakclock shows some nonsensical timezones
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-25 21:54 CEST by Rémi Verschelde
Modified: 2016-10-31 15:56 CET (History)
2 users (show)

See Also:
Source RPM: drakxtools-16.89-1.mga5, timezone
CVE:
Status comment:


Attachments
Screenshot showing the wrong timezones in drakclock (38.91 KB, image/jpeg)
2015-04-25 21:54 CEST, Rémi Verschelde
Details

Description Rémi Verschelde 2015-04-25 21:54:09 CEST
Tested on Cauldron and Mageia 5 RC live ISOs.

drakclock shows nonsensical time zones as shown in the screenshot I'll attach in comment 1.

All normal time zones are displayed correctly, but then there are also:
- iso3166.tab
- posixrules
- right (this one is a category which contains duplicates for all normal timezones, so you can choose e.g. right/Europe/Berlin)
- zone.tab
- zone1970.tab

Reproducible: 

Steps to Reproduce:
Rémi Verschelde 2015-04-25 21:54:27 CEST

CC: (none) => thierry.vignaud

Comment 1 Rémi Verschelde 2015-04-25 21:54:59 CEST
Created attachment 6356 [details]
Screenshot showing the wrong timezones in drakclock
Comment 2 Rémi Verschelde 2015-05-23 14:25:09 CEST
Still valid in 5final (classical round 3). I'll see if I can reproduce the bug with older ISOs (Mageia 4, or 5 alpha/beta) so that we can track down a potential regression.

Summary: drakclock shows some nonsensical time zones => drakclock shows some nonsensical timezones
Whiteboard: (none) => 5final

Comment 3 Thierry Vignaud 2015-05-23 19:17:43 CEST
This is b/c those are listed under /usr/share/zoneinfo/

Source RPM: drakxtools-16.89-1.mga5 => drakxtools-16.89-1.mga5, timezone

Comment 4 David Walser 2015-05-27 16:49:29 CEST
(In reply to Thierry Vignaud from comment #3)
> This is b/c those are listed under /usr/share/zoneinfo/

Obviously, but it's not clear that they shouldn't be.  It is an unfortunate inconsistency I'll grant you, but it still appears to be upstream's intention and not a packaging bug.  If I'm wrong about that, patches are welcome :o)
Samuel Verschelde 2015-06-06 16:55:16 CEST

Whiteboard: 5final => MGA5TOO

Comment 5 Angelo Naselli 2015-06-09 20:46:35 CEST
FWIW in manatools i used DateTime::TimeZone maybe we should check if there
some are missed or not...

CC: (none) => anaselli

Comment 6 Rémi Verschelde 2016-01-13 11:59:13 CET
(In reply to Rémi Verschelde from comment #0)
> 
> All normal time zones are displayed correctly, but then there are also:
> - iso3166.tab
> - posixrules
> - right (this one is a category which contains duplicates for all normal
> timezones, so you can choose e.g. right/Europe/Berlin)
> - zone.tab
> - zone1970.tab

Those files seem to still be in /usr/share/zoneinfo in cauldron: http://sophie.zarb.org/rpms/f3fdd91b25ea70c46d8232543c254216/files

Looking at the spec file (http://svnweb.mageia.org/packages/cauldron/timezone/current/SPECS/timezone.spec?view=markup), they don't seem to be packaged manually, so there are two solutions:
- either we nuke them (what would be the impact?)
- or we adapt drakclock to ignore them
Samuel Verschelde 2016-10-31 15:09:21 CET

Assignee: bugsquad => mageiatools

Comment 7 Angelo Naselli 2016-10-31 15:56:51 CET
Just out of curiosity... is it that hard to use DateTime::TimeZone in installer?

Note You need to log in before you can comment on or make changes to this bug.