timezone changed unexpectedly from EST to America/Adak or America/Indiana/Indianapolis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tzdata (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Committed
|
Undecided
|
Unassigned | ||
Jammy |
Fix Committed
|
Undecided
|
Unassigned | ||
Mantic |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
On every tzdata package upgrade the configured timezone might be updated to an incorrect one.
I enhanced debian/
[ Test Plan ]
debian/
In addition, manual check can be done. The following test should stay at `EST` (and not update to `America/Adak`):
```
ln -sf /usr/share/
dpkg-reconfigure --frontend noninteractive tzdata
ls -alh /etc/localtime
```
`US/East-Indiana` should be updated to `America/
```
ln -sf /usr/share/
dpkg-reconfigure --frontend noninteractive tzdata
```
`America/
```
ln -sf /usr/share/
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.
[ Original report ]
A user reported this regression on https:/
UPDATE: I don't think it's a regression anymore, see comment #5
"""
Hello.
After automatic upgrade of tzdata from 2023c-0ubuntu0.
the previously set EST time zone was automatically changed to "America/Adak" or "America/
Look like a bug in tzdata configure script.
"""
Changed in tzdata (Ubuntu): | |
status: | Incomplete → Confirmed |
summary: |
- Regression after update: timezone changed unexpectedly + timezone changed unexpectedly |
description: | updated |
summary: |
- timezone changed unexpectedly + timezone changed unexpectedly from EST to America/Adak |
tags: | added: foundations-todo |
information type: | Public → Public Security |
information type: | Public Security → Public |
Changed in tzdata (Ubuntu): | |
status: | Triaged → Fix Committed |
description: | updated |
tags: | added: patch |
I did a quick test in a jammy VM, and didn't observe this change:
ubuntu@j:~$ date
Fri Mar 1 13:29:18 EST 2024
ubuntu@j:~$ dpkg -l tzdata Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ======= ====-== ======= ===-=== ======= ======= ======= ======= ======= = 22.04 all time zone and daylight-saving time data
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii tzdata 2023d-0ubuntu0.
(update in another terminal)
ubuntu@j:~$ date
Fri Mar 1 13:30:12 EST 2024
ubuntu@j:~$ dpkg -l tzdata Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ======= ====-== ======= ===-=== ======= ======= ======= ======= ======= = 22.04 all time zone and daylight-saving time data
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii tzdata 2024a-0ubuntu0.
ubuntu@j:~$