Date: Tue, 04 Feb 2025 21:12:41 -0800 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Warner Losh <imp@bsdimp.com> Cc: Cy Schubert <Cy.Schubert@cschubert.com>, Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, "<dev-commits-src-main@freebsd.org>" <dev-commits-src-main@freebsd.org> Subject: Re: git: 2d17f44a5ae6 - main - rc.d: Add hastd as a prereq for devd Message-ID: <20250205051241.9EACC185@slippy.cwsent.com> In-Reply-To: <CANCZdfrhF1-N_fL9vpTXPiq=S55W9tAsxYZdFSOu9nDUeYjvdA@mail.gmail.com> References: <202502050047.5150lQQp032860@gitrepo.freebsd.org> <20250205045859.AC7BB201@slippy.cwsent.com> <CANCZdfrhF1-N_fL9vpTXPiq=S55W9tAsxYZdFSOu9nDUeYjvdA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0 In message <CANCZdfrhF1-N_fL9vpTXPiq=S55W9tAsxYZdFSOu9nDUeYjvdA@mail.gmail.c om> , 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 <Cy.Schubert@cschubert.com= > > 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 <imp@FreeBSD.org> > > > AuthorDate: 2025-02-05 00:36:18 +0000 > > > Commit: Warner Losh <imp@FreeBSD.org> > > > 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 <Cy.Schubert@cschubert.com> > > FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org > > NTP: <cy@nwtime.org> Web: https://nwtime.org > > > > e^(i*pi)+1=3D0 > > > > > > > > > > --00000000000076657b062d5e01a8 > Content-Type: text/html; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote gmail_quote_contai= > ner"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Feb 4, 2025, 9:59=E2=80= > =AFPM Cy Schubert <<a href=3D"mailto:Cy.Schubert@cschubert.com">Cy.Schub= > ert@cschubert.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote"= > style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In= > message <<a href=3D"mailto:202502050047.5150lQQp032860@gitrepo.freebsd.= > org" target=3D"_blank" rel=3D"noreferrer">202502050047.5150lQQp032860@gitre= > po.freebsd.org</a>>, Warner Losh <br> > write<br> > s:<br> > > The branch main has been updated by imp:<br> > ><br> > > URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D2d17f44a5ae6= > e948c3a93cac30b8315d" rel=3D"noreferrer noreferrer" target=3D"_blank">https= > ://cgit.FreeBSD.org/src/commit/?id=3D2d17f44a5ae6e948c3a93cac30b8315d</a><b= > r> > > 127ba900<br> > ><br> > > commit 2d17f44a5ae6e948c3a93cac30b8315d127ba900<br> > > Author:=C2=A0 =C2=A0 =C2=A0Warner Losh <imp@FreeBSD.org><br> > > AuthorDate: 2025-02-05 00:36:18 +0000<br> > > Commit:=C2=A0 =C2=A0 =C2=A0Warner Losh <imp@FreeBSD.org><br> > > CommitDate: 2025-02-05 00:47:21 +0000<br> > ><br> > >=C2=A0 =C2=A0 =C2=A0rc.d: Add hastd as a prereq for devd<br> > >=C2=A0 =C2=A0 =C2=A0<br> > >=C2=A0 =C2=A0 =C2=A0Setuping up CARP and HAST described in:<br> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://www.= > 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</a><br> > >=C2=A0 =C2=A0 =C2=A0doesn't work at boot time because devd start be= > fore hastd.<br> > >=C2=A0 =C2=A0 =C2=A0<br> > >=C2=A0 =C2=A0 =C2=A0PR: 199733<br> > >=C2=A0 =C2=A0 =C2=A0Submitted-by: <a href=3D"mailto:hs_fbsd@on-sky.net"= > target=3D"_blank" rel=3D"noreferrer">hs_fbsd@on-sky.net</a> (no name given= > )<br> > > ---<br> > >=C2=A0 libexec/rc/rc.d/devd | 2 +-<br> > >=C2=A0 1 file changed, 1 insertion(+), 1 deletion(-)<br> > ><br> > > diff --git a/libexec/rc/rc.d/devd b/libexec/rc/rc.d/devd<br> > > index 98f2068c2075..524fb045dfab 100755<br> > > --- a/libexec/rc/rc.d/devd<br> > > +++ b/libexec/rc/rc.d/devd<br> > > @@ -3,7 +3,7 @@<br> > >=C2=A0 #<br> > >=C2=A0 <br> > >=C2=A0 # PROVIDE: devd<br> > > -# REQUIRE: netif ldconfig<br> > > +# REQUIRE: netif ldconfig hastd<br> > >=C2=A0 # BEFORE: NETWORKING mountcritremote<br> > >=C2=A0 # KEYWORD: nojail shutdown<br> > >=C2=A0 <br> > ><br> > <br> > This causes boot to hang requiring a ctrl-C to continue the boot.<br> > <br> > The reason for this is I, probably like many others, don't use hastd. A= > nd <br> > especially not on laptops.<br> > <br> > Maybe put # BEFOFE: devd in the hastd rc script. This way if <br> > hastd_enable=3D"NO" or not specified in rc.conf there would be no= > hang during <br> > reboot.<br> > <br> > I've reverted this in my local "prod" tree. Life is good agai= > n.<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto= > ">Ok. It worked for me. I gotta figure out why, but in the mean time I'= > ll revert.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Warner</div><= > div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote gmai= > l_quote_container"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = > .8ex;border-left:1px #ccc solid;padding-left:1ex"> > -- <br> > Cheers,<br> > Cy Schubert <<a href=3D"mailto:Cy.Schubert@cschubert.com" target=3D"_bla= > nk" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>><br> > FreeBSD UNIX:=C2=A0 <cy@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 <a href= > =3D"https://FreeBSD.org" rel=3D"noreferrer noreferrer" target=3D"_blank">ht= > tps://FreeBSD.org</a><br> > NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"mailto:cy@nwtim= > e.org" target=3D"_blank" rel=3D"noreferrer">cy@nwtime.org</a>>=C2=A0 =C2= > =A0 Web:=C2=A0 <a href=3D"https://nwtime.org" rel=3D"noreferrer noreferrer"= > target=3D"_blank">https://nwtime.org</a><br> > <br> > =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<br> > <br> > <br> > <br> > </blockquote></div></div></div> > > --00000000000076657b062d5e01a8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250205051241.9EACC185>