Subj : tzdata question
To : All
From : Mike Powell
Date : Tue Apr 01 2025 02:36 pm
I am running debian. Sometime in the past month, when I received a kernel
upgrade and also a tzdata upgrade, I noticed that the time was wrong on my
system.
Today, I saw (apt list --upgradable) that another tzdata update was coming.
Before I ran apt upgrade, I checked the following:
/etc/localtime -> pointed as shortcut to correct timezone
/etc/timezone -> contained the correct timezone
I watched the apt upgrade run. When it came time for tzdata to reconfigure, it
said:
Current default time zone: 'America/Indiana/Indianapolis'
Which is wrong.
/etc/localtime and /etc/timezone were both now pointed to Indianapolis, which
is wrong and not what they said right before the upgrade.
So I ran dpkg-reconfigure and got it fixed again.
Out of curiousity, I also ran dkpg-reconfigure and then selected "cancel"
without making any choices. Guess what? tzdata set me back to "Indianapolis"!
This is happening on every debian/devuan/raspbian system that I have, and it
started happening sometime during the past month or six weeks after I received
a kernel/tzdata update.
I thought the time zone was saved in the two above places in /etc. Is there
some other place that tzdata is reading from that I need to look at so that, in
future, whenever tzdata gets updated I don't have to remember to go back and
manually fix the time zone each time?