[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: systemd and timezone
From:       "Arno Lehmann, ITS" <al () its-lehmann ! de>
Date:       2023-12-22 18:56:56
Message-ID: 8f5e6e3c-a6b8-47e4-97ef-e7c4a59e0f1d () its-lehmann ! de
[Download RAW message or body]

Hi Greg,

Am 22.12.2023 um 17:11 schrieb Greg Wooledge:
> On Fri, Dec 22, 2023 at 09:30:23AM -0600, David Wright wrote:
>>    https://wiki.debian.org/TimeZoneChanges
>>
>> still says:
>>
>>   "In Debian releases Etch and later, /etc/localtime is a copy of the
>>    original data file. Check the contents of /etc/timezone to see the
>>    name of the timezone. If the system is configured normally, you
>>    should find that the zoneinfo file referenced by this name is
>>    identical to /etc/localtime."
> 
> I'd change it immediately, but I don't want to make a change that isn't
> correct.
> 
> Was this paragraph actually correct for Etch?  Was /etc/localtime a
> literal *copy* of a file instead of symlink?  If so, when did it change?
> 
> Or, was this wrong for Etch, and /etc/localtime was always a symlink?


I have Etch running here, and the /etc/localtime file is not a symlink, 
nor a hardlink to a zone file:

TomBombadil:~# ls -lhi /etc/timezone /etc/localtime
159667 -rw-r--r-- 1 root root 842 2020-11-14 18:27 /etc/localtime
    140 -rw-r--r-- 1 root root  14 2020-11-14 18:27 /etc/timezone
TomBombadil:~# ls -lhi /usr/share/zoneinfo/Europe/Berlin
186905 -rw-r--r-- 1 root root 842 2008-10-17 18:57 
/usr/share/zoneinfo/Europe/Berlin
TomBombadil:~# diff -q /usr/share/zoneinfo/Europe/Berlin /etc/localtime 
; echo $?
0
TomBombadil:~# cat /etc/debian_version
4.0

Cheers,

Arno

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic