Update tzdata to version 2022a

Bug #1965791 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tzdata (Ubuntu)
Fix Released
High
Brian Murray
Bionic
Fix Released
Undecided
Brian Murray
Focal
Fix Released
Undecided
Brian Murray
Impish
Fix Released
High
Brian Murray
Jammy
Fix Released
High
Brian Murray

Bug Description

New upstream version affecting the following timestamp:

$region/$timezone = Asia/Gaza

Verification is done with 'zdump'. The first timezone that gets changed in the updated package is dumped with 'zdump -v $region/$timezone_that_changed' (this needs to be greped for in /usr/share/zoneinfo/). [For example: 'zdump -v Asia/Gaza'.] This is compared to the same output after the updated package got installed. If those are different the verification is considered done.

[Test Case for all releases]
1) zdump -v Asia/Gaza | grep 'Mar.*2022'

With the version of the package from -proposed this will show Mar 26 not Mar 25.

For releases with ICU timezone data verification is done using the following with dates before and after the change:
[Test Case for releases >= 20.04 LTS]
1) sudo apt-get install python3-icu
2) python3 -c 'from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Asia/Gaza')); print(str(tz.utcoffset(datetime(2022, 3, 26))))'

Additionally, an upstream update of tzdata removed the 'old' SystemV timezones, so we should ensure that they are kept in Ubuntu 20.04 LTS and earlier releases. Subsequently, these should be checked for using the following:

[Test Case for releases <= 20.04 LTS]
diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)

Nothing should be returned by the above command.

tags: added: fr-2121
description: updated
Changed in tzdata (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

ACK from the security team to pocket-copy to -security.

Changed in tzdata (Ubuntu Impish):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → High
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted tzdata into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tzdata/2022a-0ubuntu0.21.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in tzdata (Ubuntu Impish):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-impish
Changed in tzdata (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Brian, or anyone else affected,

Accepted tzdata into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tzdata/2022a-0ubuntu0.20.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Brian, or anyone else affected,

Accepted tzdata into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tzdata/2022a-0ubuntu0.18.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in tzdata (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tzdata - 2022a-0ubuntu1

---------------
tzdata (2022a-0ubuntu1) jammy; urgency=medium

  * New upstream release (LP: #1965791):
    - Palestine will spring forward on 2022-03-27 (not 2022-03-26).

 -- Brian Murray <email address hidden> Mon, 21 Mar 2022 11:29:06 -0700

Changed in tzdata (Ubuntu Jammy):
status: In Progress → Fix Released
Changed in tzdata (Ubuntu Focal):
status: Fix Committed → In Progress
status: In Progress → Fix Committed
assignee: nobody → Brian Murray (brian-murray)
Changed in tzdata (Ubuntu Bionic):
assignee: nobody → Brian Murray (brian-murray)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Verified on Impish:

Setting up tzdata (2022a-0ubuntu0.21.10) ...

Current default time zone: 'America/Los_Angeles'
Local time is now: Tue Mar 22 12:54:20 PDT 2022.
Universal Time is now: Tue Mar 22 19:54:20 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libmpdec3:amd64 (2.5.1-2build1) ...
Setting up libpython3.9-stdlib:amd64 (3.9.7-2build1) ...
Setting up libpython3-stdlib:amd64 (3.9.4-1build1) ...
Setting up python3.9 (3.9.7-2build1) ...
Setting up python3 (3.9.4-1build1) ...
running python rtupdate hooks for python3.9...
running python post-rtupdate hooks for python3.9...
Setting up python3-icu (2.5-1build4) ...
Processing triggers for libc-bin (2.34-0ubuntu3.2) ...
zdump test
----------
Asia/Gaza Sat Mar 26 21:59:59 2022 UT = Sat Mar 26 23:59:59 2022 EET isdst=0 gmtoff=7200
Asia/Gaza Sat Mar 26 22:00:00 2022 UT = Sun Mar 27 01:00:00 2022 EEST isdst=1 gmtoff=10800
python3-icu test
----------------
UTC offest is: 2:00:00

Revision history for this message
Brian Murray (brian-murray) wrote (last edit ):

Verified on Focal:

Setting up tzdata (2022a-0ubuntu0.20.04) ...

Current default time zone: 'America/Los_Angeles'
Local time is now: Tue Mar 22 13:00:22 PDT 2022.
Universal Time is now: Tue Mar 22 20:00:22 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libmpdec2:amd64 (2.4.2-3) ...
Setting up libpython3.8-stdlib:amd64 (3.8.10-0ubuntu1~20.04.2) ...
Setting up python3.8 (3.8.10-0ubuntu1~20.04.2) ...
Setting up libpython3-stdlib:amd64 (3.8.2-0ubuntu2) ...
Setting up libicu66:amd64 (66.1-2ubuntu2.1) ...
Setting up python3 (3.8.2-0ubuntu2) ...
running python rtupdate hooks for python3.8...
running python post-rtupdate hooks for python3.8...
Setting up python3-icu (2.4.2-0ubuntu3) ...
Processing triggers for libc-bin (2.31-0ubuntu9.8) ...
zdump test
----------
Asia/Gaza Sat Mar 26 21:59:59 2022 UT = Sat Mar 26 23:59:59 2022 EET isdst=0 gmtoff=7200
Asia/Gaza Sat Mar 26 22:00:00 2022 UT = Sun Mar 27 01:00:00 2022 EEST isdst=1 gmtoff=10800
python3-icu test
----------------
UTC offest is: 2:00:00

Revision history for this message
Brian Murray (brian-murray) wrote :

Here's a command for performing the verification:

schroot -u root -c focal-amd64 -- sh -c "apt-get update; apt-get install -y tzdata python3-icu; echo 'zdump test\n----------'; zdump -v Asia/Gaza | grep 'Mar 26.*2022'; echo 'python3-icu test\n----------------'; python3 -c 'from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone(\"Asia/Gaza\")); print(\"UTC offest is: %s\" % str(tz.utcoffset(datetime(2022, 3, 26))))'"

Revision history for this message
Brian Murray (brian-murray) wrote :

Verified on Bionic:

Unpacking tzdata (2022a-0ubuntu0.18.04) ...
Setting up tzdata (2022a-0ubuntu0.18.04) ...

Current default time zone: 'America/Los_Angeles'
Local time is now: Tue Mar 22 13:10:48 PDT 2022.
Universal Time is now: Tue Mar 22 20:10:48 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

zdump test
----------
Asia/Gaza Sat Mar 26 21:59:59 2022 UT = Sat Mar 26 23:59:59 2022 EET isdst=0 gmtoff=7200
Asia/Gaza Sat Mar 26 22:00:00 2022 UT = Sun Mar 27 01:00:00 2022 EEST isdst=1 gmtoff=10800
SystemV tz test
---------------

Revision history for this message
Brian Murray (brian-murray) wrote :

And this is the command I used on Bionic:

schroot -u root -c bionic-amd64 -- bash -c "apt-get update; apt-get install -y tzdata; echo 'zdump test'; echo '----------'; zdump -v Asia/Gaza | grep 'Mar 26.*2022'; echo 'SystemV tz test'; echo '---------------'; diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v
 SystemV/MST7 | cut -d' ' -f2-)"

tags: added: verification-done verification-done-bionic verification-done-focal verification-done-impish
removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-impish
Revision history for this message
Brian Murray (brian-murray) wrote :

Here's a debdiff for Xenial's ESM.

Revision history for this message
Brian Murray (brian-murray) wrote :

Here's a debdiff for Trusty's ESM.

Revision history for this message
Leonidas S. Barbosa (leosilvab) wrote :

Thanks Brian, trusty/xenial esm sponsored/building :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tzdata - 2022a-0ubuntu0.18.04

---------------
tzdata (2022a-0ubuntu0.18.04) bionic; urgency=medium

  * New upstream release (LP: #1965791):
    - Palestine will spring forward on 2022-03-27 (not 2022-03-26).

 -- Brian Murray <email address hidden> Mon, 21 Mar 2022 13:52:27 -0700

Changed in tzdata (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for tzdata has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tzdata - 2022a-0ubuntu0.20.04

---------------
tzdata (2022a-0ubuntu0.20.04) focal; urgency=medium

  * New upstream release (LP: #1965791):
    - Palestine will spring forward on 2022-03-27 (not 2022-03-26).

 -- Brian Murray <email address hidden> Mon, 21 Mar 2022 13:26:35 -0700

Changed in tzdata (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tzdata - 2022a-0ubuntu0.21.10

---------------
tzdata (2022a-0ubuntu0.21.10) impish; urgency=medium

  * New upstream release (LP: #1965791):
    - Palestine will spring forward on 2022-03-27 (not 2022-03-26).

 -- Brian Murray <email address hidden> Mon, 21 Mar 2022 12:50:13 -0700

Changed in tzdata (Ubuntu Impish):
status: Fix Committed → Fix Released
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.