Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2024 23:00:54 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Robert Wing <rew@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: 4cea0cbcc9d3 - main - rc.d/mountlate: discard output from nextboot
Message-ID:  <CANCZdfq5WJVd=ddzBMapBqFWphjByaMo7QDXO6wVjcriY35v3A@mail.gmail.com>
In-Reply-To: <202402210559.41L5xZjY056431@gitrepo.freebsd.org>
References:  <202402210559.41L5xZjY056431@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c1c35f0611de0ce7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This change is wrong, please revert.

I'll make nextboot silent again.

Warner

On Tue, Feb 20, 2024 at 10:59=E2=80=AFPM Robert Wing <rew@freebsd.org> wrot=
e:

> The branch main has been updated by rew:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=3D4cea0cbcc9d3a6583e5325ca081c09c=
8a9423172
>
> commit 4cea0cbcc9d3a6583e5325ca081c09c8a9423172
> Author:     Robert Wing <rew@FreeBSD.org>
> AuthorDate: 2024-02-21 05:50:43 +0000
> Commit:     Robert Wing <rew@FreeBSD.org>
> CommitDate: 2024-02-21 05:50:43 +0000
>
>     rc.d/mountlate: discard output from nextboot
>
>     silent the warning seen at boot:
>
>         Mounting late filesystems:.
>         nextboot: unlink /boot/nextboot.conf: No such file or directory
>
>         Sun Feb 18 23:31:52 AKST 2024
>
>         FreeBSD/amd64 (main) (ttyv0)
>
>         login:
>
>     Differential Revision:  https://reviews.freebsd.org/D43979
> ---
>  libexec/rc/rc.d/mountlate | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libexec/rc/rc.d/mountlate b/libexec/rc/rc.d/mountlate
> index 133192ac183c..4547e8ec6876 100755
> --- a/libexec/rc/rc.d/mountlate
> +++ b/libexec/rc/rc.d/mountlate
> @@ -39,7 +39,7 @@ mountlate_start()
>         # If we booted a special kernel remove the record
>         # so we will boot the default kernel next time.
>         if [ -x /sbin/nextboot ]; then
> -               /sbin/nextboot -D
> +               /sbin/nextboot -D > /dev/null 2>&1
>         fi
>  }
>
>

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

<div dir=3D"ltr"><div>This change is wrong, please revert.</div><div><br></=
div><div>I&#39;ll make nextboot silent again.</div><div><br></div><div>Warn=
er<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"=
gmail_attr">On Tue, Feb 20, 2024 at 10:59=E2=80=AFPM Robert Wing &lt;<a hre=
f=3D"mailto:rew@freebsd.org">rew@freebsd.org</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex">The branch main has been update=
d by rew:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D4cea0cbcc9d3a6583=
e5325ca081c09c8a9423172" rel=3D"noreferrer" target=3D"_blank">https://cgit.=
FreeBSD.org/src/commit/?id=3D4cea0cbcc9d3a6583e5325ca081c09c8a9423172</a><b=
r>
<br>
commit 4cea0cbcc9d3a6583e5325ca081c09c8a9423172<br>
Author:=C2=A0 =C2=A0 =C2=A0Robert Wing &lt;rew@FreeBSD.org&gt;<br>
AuthorDate: 2024-02-21 05:50:43 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Robert Wing &lt;rew@FreeBSD.org&gt;<br>
CommitDate: 2024-02-21 05:50:43 +0000<br>
<br>
=C2=A0 =C2=A0 rc.d/mountlate: discard output from nextboot<br>
<br>
=C2=A0 =C2=A0 silent the warning seen at boot:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Mounting late filesystems:.<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 nextboot: unlink /boot/nextboot.conf: No such f=
ile or directory<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Sun Feb 18 23:31:52 AKST 2024<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 FreeBSD/amd64 (main) (ttyv0)<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 login:<br>
<br>
=C2=A0 =C2=A0 Differential Revision:=C2=A0 <a href=3D"https://reviews.freeb=
sd.org/D43979" rel=3D"noreferrer" target=3D"_blank">https://reviews.freebsd=
.org/D43979</a><br>
---<br>
=C2=A0libexec/rc/rc.d/mountlate | 2 +-<br>
=C2=A01 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/libexec/rc/rc.d/mountlate b/libexec/rc/rc.d/mountlate<br>
index 133192ac183c..4547e8ec6876 100755<br>
--- a/libexec/rc/rc.d/mountlate<br>
+++ b/libexec/rc/rc.d/mountlate<br>
@@ -39,7 +39,7 @@ mountlate_start()<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # If we booted a special kernel remove the reco=
rd<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # so we will boot the default kernel next time.=
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 if [ -x /sbin/nextboot ]; then<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/sbin/nextboot -D<b=
r>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/sbin/nextboot -D &=
gt; /dev/null 2&gt;&amp;1<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fi<br>
=C2=A0}<br>
<br>
</blockquote></div>

--000000000000c1c35f0611de0ce7--



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