From nobody Wed Feb 5 05:12:41 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YnpJs1yh5z5n6wl; Wed, 05 Feb 2025 05:12:45 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YnpJs0Hv9z3nxP; Wed, 05 Feb 2025 05:12:45 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id fKiEtbIFRxv7PfXiOtw03N; Wed, 05 Feb 2025 05:12:44 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id fXiMtIzYH4k0ofXiNtbulL; Wed, 05 Feb 2025 05:12:44 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=fLKa3oae c=1 sm=1 tr=0 ts=67a2f34c a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=T2h4t0Lz3GQA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=YsOA2-ArAAAA:8 a=0FNk9USiAAAA:8 a=j60yDONkRL_9UpNinKQA:9 a=zz45bIk1XtsMeathu/1YEEouC2M=:19 a=DVAmapWuBHiFO2-S:21 a=CjuIK1q_8ugA:10 a=_WP1hYWONFMA:10 a=FtjnIqZbAcgA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=pzjXTCURJ6VjBCy6T91o:22 a=TF7iPsq83L4KsoDyi5cH:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 1C15823F; Tue, 04 Feb 2025 21:12:42 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 9EACC185; Tue, 04 Feb 2025 21:12:41 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Warner Losh cc: Cy Schubert , Warner Losh , src-committers , "" , "" Subject: Re: git: 2d17f44a5ae6 - main - rc.d: Add hastd as a prereq for devd In-reply-to: References: <202502050047.5150lQQp032860@gitrepo.freebsd.org> <20250205045859.AC7BB201@slippy.cwsent.com> Comments: In-reply-to Warner Losh message dated "Tue, 04 Feb 2025 22:00:23 -0700." List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Feb 2025 21:12:41 -0800 Message-Id: <20250205051241.9EACC185@slippy.cwsent.com> X-CMAE-Envelope: MS4xfNRx2qmz2DPs6fFVEfjb6BGT9HVm264qKMuwIoW3RDUZBXs73NFZvXTAACu5/NppyvzR9DrEEUsqq7z/sMnNCk8gjYLwa5UpZptrjXlxkxI390MbLQfY mNN0CBH57rhJzsoKNXT4YPcm3a776xP99o4mlWED1U+Ibai5O9Jp8LsYy9U79FOcJPX4gjtA6ZpJi8uDVfALtoqMLtOoKTdOHn3I7mKmHmG/wYk/xpQsafFt q7jg5IoEXYCWlGTYyf35PFfsER6asrY9E9A1oWeDnlrjlO7GVQgNHIszMBTg9SV52nAPg0aKcySsFTHdQupBfmTAsnXCcv+fC+BkEasBqqnP5VCQedUHeEIr oWBVuBtY X-Rspamd-Queue-Id: 4YnpJs0Hv9z3nxP X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 In message , Warner Losh writes: > --00000000000076657b062d5e01a8 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > On Tue, Feb 4, 2025, 9:59=E2=80=AFPM Cy Schubert > wrote: > > > In message <202502050047.5150lQQp032860@gitrepo.freebsd.org>, Warner Losh > > write > > s: > > > The branch main has been updated by imp: > > > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=3D2d17f44a5ae6e948c3a93cac30b8315= > d > > > 127ba900 > > > > > > commit 2d17f44a5ae6e948c3a93cac30b8315d127ba900 > > > Author: Warner Losh > > > AuthorDate: 2025-02-05 00:36:18 +0000 > > > Commit: Warner Losh > > > CommitDate: 2025-02-05 00:47:21 +0000 > > > > > > rc.d: Add hastd as a prereq for devd > > > > > > Setuping up CARP and HAST described in: > > > > > https://www.freebsd.org/doc/en/books/handbook/disks-hast.html > > > doesn't work at boot time because devd start before hastd. > > > > > > PR: 199733 > > > Submitted-by: hs_fbsd@on-sky.net (no name given) > > > --- > > > libexec/rc/rc.d/devd | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/libexec/rc/rc.d/devd b/libexec/rc/rc.d/devd > > > index 98f2068c2075..524fb045dfab 100755 > > > --- a/libexec/rc/rc.d/devd > > > +++ b/libexec/rc/rc.d/devd > > > @@ -3,7 +3,7 @@ > > > # > > > > > > # PROVIDE: devd > > > -# REQUIRE: netif ldconfig > > > +# REQUIRE: netif ldconfig hastd > > > # BEFORE: NETWORKING mountcritremote > > > # KEYWORD: nojail shutdown > > > > > > > > > > This causes boot to hang requiring a ctrl-C to continue the boot. > > > > The reason for this is I, probably like many others, don't use hastd. And > > especially not on laptops. > > > > Maybe put # BEFOFE: devd in the hastd rc script. This way if > > hastd_enable=3D"NO" or not specified in rc.conf there would be no hang > > during > > reboot. > > > > I've reverted this in my local "prod" tree. Life is good again. > > > > Ok. It worked for me. I gotta figure out why, but in the mean time I'll > revert. > > Warner > > --=20 > > Cheers, > > Cy Schubert > > FreeBSD UNIX: Web: https://FreeBSD.org > > NTP: Web: https://nwtime.org > > > > e^(i*pi)+1=3D0 > > > > > > > > > > --00000000000076657b062d5e01a8 > Content-Type: text/html; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > >


ner">
On Tue, Feb 4, 2025, 9:59=E2=80= > =AFPM Cy Schubert <Cy.Schub= > ert@cschubert.com> wrote:
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In= > message < org" target=3D"_blank" rel=3D"noreferrer">202502050047.5150lQQp032860@gitre= > po.freebsd.org>, Warner Losh
> write
> s:
> > The branch main has been updated by imp:
> >
> > URL: e948c3a93cac30b8315d" rel=3D"noreferrer noreferrer" target=3D"_blank">https= > ://cgit.FreeBSD.org/src/commit/?id=3D2d17f44a5ae6e948c3a93cac30b8315d r> > > 127ba900
> >
> > commit 2d17f44a5ae6e948c3a93cac30b8315d127ba900
> > Author:=C2=A0 =C2=A0 =C2=A0Warner Losh <imp@FreeBSD.org>
> > AuthorDate: 2025-02-05 00:36:18 +0000
> > Commit:=C2=A0 =C2=A0 =C2=A0Warner Losh <imp@FreeBSD.org>
> > CommitDate: 2025-02-05 00:47:21 +0000
> >
> >=C2=A0 =C2=A0 =C2=A0rc.d: Add hastd as a prereq for devd
> >=C2=A0 =C2=A0 =C2=A0
> >=C2=A0 =C2=A0 =C2=A0Setuping up CARP and HAST described in:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 freebsd.org/doc/en/books/handbook/disks-hast.html" rel=3D"noreferrer norefe= > rrer" target=3D"_blank">https://www.freebsd.org/doc/en/books/handbook/disks= > -hast.html
> >=C2=A0 =C2=A0 =C2=A0doesn't work at boot time because devd start be= > fore hastd.
> >=C2=A0 =C2=A0 =C2=A0
> >=C2=A0 =C2=A0 =C2=A0PR: 199733
> >=C2=A0 =C2=A0 =C2=A0Submitted-by: target=3D"_blank" rel=3D"noreferrer">hs_fbsd@on-sky.net (no name given= > )
> > ---
> >=C2=A0 libexec/rc/rc.d/devd | 2 +-
> >=C2=A0 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libexec/rc/rc.d/devd b/libexec/rc/rc.d/devd
> > index 98f2068c2075..524fb045dfab 100755
> > --- a/libexec/rc/rc.d/devd
> > +++ b/libexec/rc/rc.d/devd
> > @@ -3,7 +3,7 @@
> >=C2=A0 #
> >=C2=A0
> >=C2=A0 # PROVIDE: devd
> > -# REQUIRE: netif ldconfig
> > +# REQUIRE: netif ldconfig hastd
> >=C2=A0 # BEFORE: NETWORKING mountcritremote
> >=C2=A0 # KEYWORD: nojail shutdown
> >=C2=A0
> >
>
> This causes boot to hang requiring a ctrl-C to continue the boot.
>
> The reason for this is I, probably like many others, don't use hastd. A= > nd
> especially not on laptops.
>
> Maybe put # BEFOFE: devd in the hastd rc script. This way if
> hastd_enable=3D"NO" or not specified in rc.conf there would be no= > hang during
> reboot.
>
> I've reverted this in my local "prod" tree. Life is good agai= > n.

">Ok. It worked for me. I gotta figure out why, but in the mean time I'= > ll revert.

Warner
<= > div dir=3D"auto">
l_quote_container">
.8ex;border-left:1px #ccc solid;padding-left:1ex"> > --
> Cheers,
> Cy Schubert < nk" rel=3D"noreferrer">Cy.Schubert@cschubert.com>
> FreeBSD UNIX:=C2=A0 <cy@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 =3D"https://FreeBSD.org" rel=3D"noreferrer noreferrer" target=3D"_blank">ht= > tps://FreeBSD.org
> NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0< e.org" target=3D"_blank" rel=3D"noreferrer">cy@nwtime.org>=C2=A0 =C2= > =A0 Web:=C2=A0 target=3D"_blank">https://nwtime.org
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= > =A0 =C2=A0 e^(i*pi)+1=3D0
>
>
>
>
> > --00000000000076657b062d5e01a8--