Processed: found 822733 in 2022g-6

Michael Biebl biebl at debian.org
Thu Jan 9 19:18:58 GMT 2025


Hi

Am 09.01.25 um 18:56 schrieb Aurelien Jarno:
> On 2025-01-09 17:36, Debian Bug Tracking System wrote:
>> Processing commands for control at bugs.debian.org:
>>
>>> found 822733 2022g-6
>> Bug #822733 {Done: Benjamin Drung <bdrung at debian.org>} [tzdata] tzdata: Drop /etc/timezone
>> Marked as found in versions tzdata/2022g-6 and reopened.
>>> thanks
>> Stopping processing here.
> 
> Just to clarify the situation, starting with tzdata 2024b-5,
> /etc/timezone is not created anymore by tzdata, only updated if it
> exists. debian-installer does not create this file anymore, so newly
> installed Trixie systems won't have that file unless created manually.
> 

I've re-opened the bug report as changes were reverted in

>  tzdata (2022g-6) unstable; urgency=medium
>  .
>    * Restore generating /etc/timezone again. The removal of /etc/timezone
>      will be done in Debian 13 "Trixie". (Closes: #1031376, #1031395)

Aurelien added parts of the changes back in 2024b-5, excluding the 
changes which remove /etc/timezone on upgrades.
So, newly installed systems will be different from upgraded systems.
Ultimately, I think we should remove /etc/timezone on upgrades as well,
to ensure there is no schism between upgraded any newly installed systems.
I thus think it makes sense to keep this issue open for tracking purposes.
Regarding tracking, I usertagged the open issues [1] that I could find.

As for the "remove /etc/timezone on upgrades" as in [2], Aurelien 
mentioned on IRC that a simple version check like this is maybe to 
simplistic.  tzdata regularly gets stable updates and I assume a stable 
update would not include this upgrade code.

So the upgrade check would have to be:
a/ If upgrading from stable → run the code
b/ If upgrading from a previous version < 123 → run the code

As for a/, maybe checking if the version contains "deb" would be a 
reliable indicator.

Another approach to implement the one-time-removal-on-upgrades would be 
to use a flag file.

Michael


[1] 
https://udd.debian.org/cgi-bin/bts-usertags.cgi?user=pkg-systemd-maintainers@lists.alioth.debian.org&tag=etc-timezone-removal
[2] 
https://salsa.debian.org/glibc-team/tzdata/-/commit/3edcce5955de5ed7b7072402e7565945bc84aea8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250109/7c7f20ec/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list