Nп/п : 65 из 75
От : Wilfred van Velzen 2:280/464 01 апр 25 21:54:17
К : Mike Powell 01 апр 25 23:09:02
Тема : Re: tzdata question
----------------------------------------------------------------------------------
@MSGID: 2:280/464 67ec45b9
@REPLY: 8424.fi-linux@1:2320/105 2c51972f
@TID: FMail-lnx64 2.3.2.4-B20240523
@RFC-X-No-Archive: Yes
@TZUTC: 0200
@CHRS: CP850 2
@PID: GED+LNX 1.1.5-b20240604
Hi Mike,
On 2025-04-01 14:36:39, you wrote to All:
MP> I am running debian. Sometime in the past month, when I received a
MP> kernel upgrade and also a tzdata upgrade, I noticed that the time was
MP> wrong on my system.
MP> Today, I saw (apt list --upgradable) that another tzdata update was coming.
MP> Before I ran apt upgrade, I checked the following:
MP> /etc/localtime -> pointed as shortcut to correct timezone
MP> /etc/timezone -> contained the correct timezone
MP> I watched the apt upgrade run. When it came time for tzdata to
MP> reconfigure, it said:
MP> Current default time zone: `America/Indiana/Indianapolis`
MP> Which is wrong.
MP> /etc/localtime and /etc/timezone were both now pointed to
Indianapolis, which
MP> is wrong and not what they said right before the upgrade.
MP> So I ran dpkg-reconfigure and got it fixed again.
MP> Out of curiousity, I also ran dkpg-reconfigure and then selected "cancel"
MP> without making any choices. Guess what? tzdata set me back to
MP> "Indianapolis"!
MP> This is happening on every debian/devuan/raspbian system that I
have, and it
MP> started happening sometime during the past month or six weeks
after I received
MP> a kernel/tzdata update.
MP> I thought the time zone was saved in the two above places
in /etc. Is there
MP> some other place that tzdata is reading from that I need to
look at so that,
MP> in future, whenever tzdata gets updated I don`t have to remember to go back
MP> and manually fix the time zone each time?
On Ubuntu I`ve only once set /etc/localtime to symlink to
/usr/share/zoneinfo/Europe/Amsterdam (in my case). As described in `man 5 localtime`. I`ve never touched
or editted /etc/timezone. That might be set automatically (on boot, but
I don`t really know), from where /etc/localtime links to...
This is on multiple servers, that have been running for years, and
are kept up to date regularly.
Bye, Wilfred.
--- FMail-lnx64 2.3.2.4-B20240523
* Origin: FMail development HQ (2:280/464)
SEEN-BY: 50/109 103/705 124/5016 153/757 154/10 30
203/0 221/0 1 6 240/1120
SEEN-BY: 240/5832 280/464 5003 292/854 8125 301/1
113 812 310/31 335/364
SEEN-BY: 341/66 234 396/45 423/120 460/58 463/68
467/888 633/280 712/848
SEEN-BY: 770/1 5000/111 5020/400 545 715 828 830
846 848 1042 4441 12000
SEEN-BY: 5030/49 1081 1474 1900 5060/900 5061/133
5075/128 5083/444 6078/80
@PATH: 280/464 301/1 5020/1042 4441