timezone temporarily wrong when running locales postinst
Bug #262825 reported by
Mark Painter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tzdata (Debian) |
Fix Released
|
Unknown
|
|||
tzdata (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
Bug Description
When installing an updated locales package, the timezone on a machine may be incorrect for a short period of time.
Changed in tzdata: | |
assignee: | nobody → pitti |
Changed in tzdata: | |
status: | Unknown → New |
Changed in tzdata (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug causes things like lines of logging to have incorrect timestamps for a short period of time during the locales postinst. This may lead to problems with log scraping and alerting.
In the development branch, the locales postinst does not touch the timezone so this is not an issue.
TEST CASE: run the locales postinst when the value in /etc/timezone matches the /etc/localtime symlink -- there should be no unlink of /etc/localtime
No regression is expected with this patch, there is no reason to depend upon timezone being flaky.