From nobody Wed Feb 5 05:06:03 2025 X-Original-To: dev-commits-src-main@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 4Ynp9B5pGpz5n6lq; Wed, 05 Feb 2025 05:06:06 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta004.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (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 4Ynp9B31Ybz3mDX; Wed, 05 Feb 2025 05:06:06 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTPS id fTW0trQN8yLQGfXbxtRfAM; Wed, 05 Feb 2025 05:06:05 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id fXbwtMxbfWbOafXbxtj0WE; Wed, 05 Feb 2025 05:06:05 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=Q5lx4J2a c=1 sm=1 tr=0 ts=67a2f1bd 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=QxSy_i6vI-EY6E-1JNAA:9 a=CjuIK1q_8ugA:10 a=_WP1hYWONFMA:10 a=FtjnIqZbAcgA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=pzjXTCURJ6VjBCy6T91o:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id D51F9235; Tue, 04 Feb 2025 21:06:03 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 23D8C280; Tue, 04 Feb 2025 21:06:03 -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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Feb 2025 21:06:03 -0800 Message-Id: <20250205050603.23D8C280@slippy.cwsent.com> X-CMAE-Envelope: MS4xfE+RVKIu59aawBcArzLKLi7yr+BmDrSbUY6LJoH6jo+inwuTuzvL+GDHJGFQ6EJ489SIPxhR3YKXVLyzhJG0/KJ60Jz7JqUS+GGJFdXGS1TGQ/plNF61 zEvUJlTq0F/sMJzPYfsL6kGF38zkEVmK3ZuzG+7vrRKuO2068IrtA2l2DPihqK9d8foHYRtNPNpaRomcbNyPvbIotd5tsbymBN0x8T+ejWBx52x0zD610x32 uAtdCRrD+z6+NH0D5kDN98OYYHHmKnGQl1rB4knlxQpvlc+WwQScXKQMoAEXJKCjCmJyo+tqUkPcpBie0z/HKAaY0kmuAjXmK0WeTcZFvs9xC67LvJGLKqqu t1SePxof X-Rspamd-Queue-Id: 4Ynp9B31Ybz3mDX 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] 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. That's strange. This hung two laptops here in my office. I'm reluctant to apply it to the servers in my basement two floors down. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0