Re: git: 5e16809c953f - main - tzsetup: symlink /etc/localtime instead of copying

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 24 Nov 2023 07:51:07 UTC
On Fri, Nov 24, 2023 at 12:17 AM Konstantin Belousov <kostikbel@gmail.com>
wrote:

> On Fri, Nov 24, 2023 at 02:17:11AM +0000, Ed Maste wrote:
> > The branch main has been updated by emaste:
> >
> > URL:
> https://cgit.FreeBSD.org/src/commit/?id=5e16809c953f4cd19fadb1767469dec319de0353
> >
> > commit 5e16809c953f4cd19fadb1767469dec319de0353
> > Author:     Ed Maste <emaste@FreeBSD.org>
> > AuthorDate: 2022-10-14 16:44:35 +0000
> > Commit:     Ed Maste <emaste@FreeBSD.org>
> > CommitDate: 2023-11-24 02:13:49 +0000
> >
> >     tzsetup: symlink /etc/localtime instead of copying
> >
> >     Using a symlink means that new timezone data (installed by an errata
> >     update, say) will be usable without having to be copied again.
> Does this mean that installations with split / and /usr get broken?
>

Not in any real sense, no. Very little is run prior to /usr being mounted
in these setups. What is run isn't a daemon and very few of them print
times. And if they were, they'd print it in UTC not local time.

The only thing I can think of that might be user-visible would be boot -s
to single user. Date will report UTC instead of local time in these setups
(which these days have become somewhat rare).

Warner