[Bug 2055718] Re: Regression after update: timezone changed unexpectedly

2024-03-04 Thread Andreas Hasenack
** Changed in: tzdata (Ubuntu)
   Status: Incomplete => Confirmed

** Summary changed:

- Regression after update: timezone changed unexpectedly
+ timezone changed unexpectedly

** Description changed:

  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.
  """

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

Title:
  timezone changed unexpectedly

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055718] Re: Regression after update: timezone changed unexpectedly

2024-03-04 Thread Andreas Hasenack
That happens also with the current version of tzdata.

Starting with:

$ dpkg -l tzdata|grep tzdata
ii  tzdata 2022a-0ubuntu1 all

$ date
Mon Mar  4 12:22:38 UTC 2024

# the current timezone (UTC) was configured via dpkg-reconfigure tzdata

$ sudo apt reinstall tzdata=2022a-0ubuntu1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 342 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 tzdata all 
2022a-0ubuntu1 [342 kB]
Fetched 342 kB in 0s (11.1 MB/s)
Preconfiguring packages ...
(Reading database ... 31964 files and directories currently installed.)
Preparing to unpack .../tzdata_2022a-0ubuntu1_all.deb ...
Unpacking tzdata (2022a-0ubuntu1) over (2022a-0ubuntu1) ...
Setting up tzdata (2022a-0ubuntu1) ...

Current default time zone: 'Etc/UTC'
Local time is now:  Mon Mar  4 12:22:55 UTC 2024.
Universal Time is now:  Mon Mar  4 12:22:55 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Timezone is kept, as expected.

Now I set it via timedatectl:
ubuntu@j-tz:~$ sudo timedatectl set-timezone EST
ubuntu@j-tz:~$ date
Mon Mar  4 07:23:42 EST 2024

Reinstall same tzdata:
$ sudo apt reinstall tzdata=2022a-0ubuntu1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 342 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 tzdata all 
2022a-0ubuntu1 [342 kB]
Fetched 342 kB in 0s (14.6 MB/s)
Preconfiguring packages ...
(Reading database ... 31964 files and directories currently installed.)
Preparing to unpack .../tzdata_2022a-0ubuntu1_all.deb ...
Unpacking tzdata (2022a-0ubuntu1) over (2022a-0ubuntu1) ...
Setting up tzdata (2022a-0ubuntu1) ...

Current default time zone: 'America/Adak'
Local time is now:  Mon Mar  4 02:23:57 HST 2024.
Universal Time is now:  Mon Mar  4 12:23:57 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


And we get America/Adak:
$ date
Mon Mar  4 02:24:08 HST 2024


So I don't think it's a regression, and am updating the tags accordingly.

** Tags removed: regression-update

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

Title:
  Regression after update: timezone changed unexpectedly

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055718] Re: Regression after update: timezone changed unexpectedly

2024-03-01 Thread Vladimir
Screenshot 2

** Attachment added: "Screenshot from 2024-03-02 02-07-20.png"
   
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2055718/+attachment/5751409/+files/Screenshot%20from%202024-03-02%2002-07-20.png

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

Title:
  Regression after update: timezone changed unexpectedly

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055718] Re: Regression after update: timezone changed unexpectedly

2024-03-01 Thread Vladimir
Screenshot 1

** Attachment added: "Screenshot from 2024-03-02 02-06-52.png"
   
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2055718/+attachment/5751408/+files/Screenshot%20from%202024-03-02%2002-06-52.png

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

Title:
  Regression after update: timezone changed unexpectedly

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055718] Re: Regression after update: timezone changed unexpectedly

2024-03-01 Thread Vladimir
Hello.
Thanks for quick response.
I can to reproduce the issue on fresh VM. Steps:

1. Run ubuntu server 22.04 live CD.
2. Set timezone: timedatectl --set-timezone EST
3. Check current date: 
>> date
XXX EST
4. Update tzdata: apt update && apt install tzdata
5. Check current date: 
>> date
XXX HST

Thanks.

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

Title:
  Regression after update: timezone changed unexpectedly

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055718] Re: Regression after update: timezone changed unexpectedly

2024-03-01 Thread Andreas Hasenack
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
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---===
ii  tzdata 2023d-0ubuntu0.22.04 all  time zone and 
daylight-saving time data


(update in another terminal)


ubuntu@j:~$ date
Fri Mar  1 13:30:12 EST 2024

ubuntu@j:~$ dpkg -l tzdata
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---===
ii  tzdata 2024a-0ubuntu0.22.04 all  time zone and 
daylight-saving time data
ubuntu@j:~$ 


** Changed in: tzdata (Ubuntu)
   Status: New => Incomplete

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

Title:
  Regression after update: timezone changed unexpectedly

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs