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
--000000000000a9b7fb060ae1376b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 24, 2023 at 12:17=E2=80=AFAM Konstantin Belousov <kostikbel@gma=
il.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=3D5e16809c953f4cd19fadb1767469dec=
319de0353
> >
> > 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 errat=
a
> >     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

--000000000000a9b7fb060ae1376b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Nov 24, 2023 at 12:17=E2=80=
=AFAM Konstantin Belousov &lt;<a href=3D"mailto:kostikbel@gmail.com">kostik=
bel@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-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=3D"https://cgit.FreeBSD.org/src/commit/?id=3D5e16809c953f=
4cd19fadb1767469dec319de0353" rel=3D"noreferrer" target=3D"_blank">https://=
cgit.FreeBSD.org/src/commit/?id=3D5e16809c953f4cd19fadb1767469dec319de0353<=
/a><br>
&gt; <br>
&gt; commit 5e16809c953f4cd19fadb1767469dec319de0353<br>
&gt; Author:=C2=A0 =C2=A0 =C2=A0Ed Maste &lt;emaste@FreeBSD.org&gt;<br>
&gt; AuthorDate: 2022-10-14 16:44:35 +0000<br>
&gt; Commit:=C2=A0 =C2=A0 =C2=A0Ed Maste &lt;emaste@FreeBSD.org&gt;<br>
&gt; CommitDate: 2023-11-24 02:13:49 +0000<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0tzsetup: symlink /etc/localtime instead of copying<=
br>
&gt;=C2=A0 =C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0 =C2=A0Using a symlink means that new timezone data (insta=
lled by an errata<br>
&gt;=C2=A0 =C2=A0 =C2=A0update, say) will be usable without having to be co=
pied again.<br>
Does this mean that installations with split / and /usr get broken?<br></bl=
ockquote><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 repo=
rt 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>

--000000000000a9b7fb060ae1376b--



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