Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2023 00:51:07 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Ed Maste <emaste@freebsd.org>, src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 5e16809c953f - main - tzsetup: symlink /etc/localtime instead of copying
Message-ID:  <CANCZdfpYLW0BeDrDYwWe2o5makDRwEBNkz0ObqPx6jxwkWZrqQ@mail.gmail.com>
In-Reply-To: <ZWBOD4a-dXluIN1S@kib.kiev.ua>
References:  <202311240217.3AO2HBCq026261@gitrepo.freebsd.org> <ZWBOD4a-dXluIN1S@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 24, 2023 at 12:17 AM Konstantin Belousov &lt;<a href="mailto:kostikbel@gmail.com">kostikbel@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Nov 24, 2023 at 02:17:11AM +0000, Ed Maste wrote:<br>
&gt; The branch main has been updated by emaste:<br>
&gt; <br>
&gt; URL: <a href="https://cgit.FreeBSD.org/src/commit/?id=5e16809c953f4cd19fadb1767469dec319de0353" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/src/commit/?id=5e16809c953f4cd19fadb1767469dec319de0353</a><br>;
&gt; <br>
&gt; commit 5e16809c953f4cd19fadb1767469dec319de0353<br>
&gt; Author:     Ed Maste &lt;emaste@FreeBSD.org&gt;<br>
&gt; AuthorDate: 2022-10-14 16:44:35 +0000<br>
&gt; Commit:     Ed Maste &lt;emaste@FreeBSD.org&gt;<br>
&gt; CommitDate: 2023-11-24 02:13:49 +0000<br>
&gt; <br>
&gt;     tzsetup: symlink /etc/localtime instead of copying<br>
&gt;     <br>
&gt;     Using a symlink means that new timezone data (installed by an errata<br>
&gt;     update, say) will be usable without having to be copied again.<br>
Does this mean that installations with split / and /usr get broken?<br></blockquote><div><br></div><div>Not in any real sense, no. Very little is run prior to /usr being mounted in these setups. What is run isn&#39;t a daemon and very few of them print times. And if they were, they&#39;d print it in UTC not local time.</div><div><br></div><div>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).<br></div><div><br></div><div>Warner <br></div></div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpYLW0BeDrDYwWe2o5makDRwEBNkz0ObqPx6jxwkWZrqQ>