[Bug 2055718] Re: timezone changed unexpectedly from EST to America/Adak or America/Indiana/Indianapolis

Launchpad Bug Tracker 2055718 at bugs.launchpad.net
Thu Jul 4 18:53:53 UTC 2024


This bug was fixed in the package tzdata - 2024a-0ubuntu0.22.04.1

---------------
tzdata (2024a-0ubuntu0.22.04.1) jammy; urgency=medium

  * Do not replace CET, CST6CDT, EET, EST*, HST, MET, MST*, PST8PDT, WET.
    The replacements differed in using daylight saving. (LP: #2055718)
  * Correct timezone symlinks when using BACKWARD=backward PACKRATDATA=backzone
    to fix (at least) the timezone symlinks Africa/Asmera,
    Antarctica/South_Pole, Iceland, Pacific/Ponape, and Pacific/Truk.
  * Correct timezone updates on tzdata configuration:
    - Fix updating US/Indiana-Starke to America/Indiana/Knox
    - Update Mideast/Riyadh8[789] to Asia/Riyadh
    - Update America/Fort_Wayne and America/Indianapolis
      to America/Indiana/Indianapolis
    - Update America/Knox_IN to America/Indiana/Knox
    - Update America/Louisville to America/Kentucky/Louisville
  * Test convert_timezone for consistency

 -- Benjamin Drung <bdrung at ubuntu.com>  Fri, 03 May 2024 19:02:45 +0200

** Changed in: tzdata (Ubuntu Jammy)
       Status: Fix Committed => Fix Released

** Changed in: tzdata (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/2055718

Title:
  timezone changed unexpectedly from EST to America/Adak or
  America/Indiana/Indianapolis

Status in tzdata package in Ubuntu:
  Fix Released
Status in tzdata source package in Focal:
  Fix Released
Status in tzdata source package in Jammy:
  Fix Released
Status in tzdata source package in Mantic:
  Fix Released

Bug description:
  [ Impact ]

  On every tzdata package upgrade the configured timezone might be
  updated to an incorrect one.

  I enhanced debian/test_timezone_conversions to detect those
  inconsistencies and fixed everything that was found by this check. The
  SRUs contain a backport of the script from noble.

  [ Test Plan ]

  debian/test_timezone_conversions is enhanced to check the timezone
  conversions for consistency to prevent such kind of issues in the
  future. debian/test_timezone_conversions is run during built and as
  autopkgtest.

  In addition, manual check can be done. The following test should stay
  at `EST` (and not update to `America/Adak`):

  ```
  ln -sf /usr/share/zoneinfo/EST /etc/localtime
  dpkg-reconfigure --frontend noninteractive tzdata
  ls -alh /etc/localtime
  ```

  `US/East-Indiana` should be updated to `America/Indiana/Indianapolis`
  and not to `America/Adak`:

  ```
  ln -sf /usr/share/zoneinfo/US/East-Indiana /etc/localtime
  dpkg-reconfigure --frontend noninteractive tzdata
  ```

  `America/Louisville` should be updated to
  `America/Kentucky/Louisville` and not to `America/Adak`:

  ```
  ln -sf /usr/share/zoneinfo/America/Louisville /etc/localtime
  dpkg-reconfigure --frontend noninteractive tzdata
  ```

  [ Other Info ]

  The autopkgtest for chrony is flaky on jammy and newer (see bug
  #2002910).

  [ Regression potential ]

  The patch ziguard.awk-Move-link-to-link-feature-from-vanguard-to-
  ma.patch moves the link to link feature from vanguard to main dataform
  to produce correct symlinks. This results in symlinks that can point
  to symlinks. The zic from glibc that we use can handle that, but there
  might be other parsers that read /usr/share/zoneinfo/tzdata.zi
  directly and could fail to handle symlinks to symlinks.

  [ Original report ]

  A user reported this regression on
  https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2052739:

  UPDATE: I don't think it's a regression anymore, see comment #5

  """
  Hello.
  After automatic upgrade of tzdata from 2023c-0ubuntu0.22.04.2 to 2024a-0ubuntu0.22.04
  the previously set EST time zone was automatically changed to "America/Adak" or "America/Indiana/Indianapolis" on all our servers (50+).
  Look like a bug in tzdata configure script.
  """

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2055718/+subscriptions




More information about the foundations-bugs mailing list