Control: reopen 1038836

On Wed, 26 Jul 2023 15:45:42 +0200 Georges Khaznadar
<georg...@debian.org> wrote:
> Hello, I shall close this bug report. So far, cron is happy with
> /etc/timezone, and using /etc/localtime instead would initialize
> TZ to a wrong value. For example, on my machine:
> 
> ----------------------8<---------------------------
> ~$ cat /etc/timezone
> Europe/Paris
> ~$ cat /etc/localtime | strings
> TZif2
> WEST
> CEST
> WEMT
> TZif2
> WEST
> CEST
> WEMT
> CET-1CEST,M3.5.0,M10.5.0/3
> ----------------------8<---------------------------
> 

/etc/timezone is no longer created on new installations and will no
longer be kept updated at some point in the future. You are not
supposed to read /etc/localtime directly, but read what it points to
(it's a symlink), eg:

$ readlink /etc/localtime | sed "s|/usr/share/zoneinfo/||"
Europe/London

Please fix cron to do this in time for Trixie.

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to