[mk-sbuild] schroot made by mk-sbuild have broken TZ info

Bug #2016025 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

mk-sbuild copies /etc/timezone and /etc/localtime to the schroots it creates, but tzdata is not part of the default package set, resulting in /etc/localtime being a broken symlink and the actual time zone as reported by `date(1)` is UTC no matter what /etc/timezone reports.

I think this should be removed from mk-sbuild since it doesn't work as intended, and it can have side-effects breaking builds in non-obvious ways, since some package have embedded timezone data (e.g. icu) that can mismatch with the system. icu's test suite is broken by this, with failures in the test intltest::tztest::TestGenericAPI.

Revision history for this message
Simon Chopin (schopin) wrote :

It could be argued that src:icu should build-depend on tzdata, but I still think mk-sbuild is doing the wrong thing here.

Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - schroot made by mk-sbuild have broken TZ info
+ mk-sbuild: schroot made by mk-sbuild have broken TZ info
summary: - mk-sbuild: schroot made by mk-sbuild have broken TZ info
+ [mk-sbuild] schroot made by mk-sbuild have broken TZ info
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.