Re: /etc/localtime

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Mon, 19 May 2025 07:18:36 UTC

> On 19 May 2025, at 09:55, Herbert J. Skuhra <herbert@gojira.at> wrote:
> 
> On Mon, 19 May 2025 08:33:45 +0200, Daniel Braniss wrote:
>>> On 19 May 2025, at 08:28, Dag-Erling Smørgrav <des@FreeBSD.org> wrote:
>>> 
>>> Daniel Braniss <danny@cs.huji.ac.il> writes:
>>>> when doing a cd /usr/src; make install -d <somedir> 
>>>>       /etc/localtime is symlinked to <destdir>/usr/share/zoneinfo/…
>>>> IMHO, it should be symlinked to /usr/share/…
>>> 
>>> Strange, this was a known bug in usr.sbin/tzsetup (PR 281332) which was
>>> fixed in head back in September but never merged because stable/14
>>> allegedly did not have the same issue.  If that turns out to be
>>> incorrect, we should definitely fix it before 14.3.
>> 
>> this is happening with 14.3 Stable
> 
> This was reverted in:
> 
> <https://cgit.freebsd.org/src/commit/?h=stable/14&id=06a6d0259fe5721bfb3b745b231ecf7cf3a5e28e>
> 
> And the fixed revision hasn't been MFCed.
> 
> Here /etc/localtime is a regular file:
> 
> $ ls -l /etc/localtime 
> -r--r--r--  1 root wheel 2298 May 18 09:41 /etc/localtime
> 
> (stable/14-n271501-10d94b403add amd64)
> 
> Remove the link and try again.
> 
 removed the symlink, did a new install, and problem fixed

thanks,
	danny