From nobody Wed Feb 05 04:58:59 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 4Ynp144Cwfz5n684; Wed, 05 Feb 2025 04:59:04 +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 4Ynp136Hjrz3kLq; Wed, 05 Feb 2025 04:59:03 +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 fTW0tbtTHxv7PfXV9tvskf; Wed, 05 Feb 2025 04:59:03 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id fXV7tMveZWbOafXV8tj05v; Wed, 05 Feb 2025 04:59:03 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=Q5lx4J2a c=1 sm=1 tr=0 ts=67a2f017 a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=T2h4t0Lz3GQA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YsOA2-ArAAAA:8 a=YxBL1-UpAAAA:8 a=MLSBJ3yANAyTcSYo41kA:9 a=CjuIK1q_8ugA:10 a=_WP1hYWONFMA:10 a=FtjnIqZbAcgA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=pzjXTCURJ6VjBCy6T91o:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 6E89322C; Tue, 04 Feb 2025 20:59:00 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id AC7BB201; Tue, 04 Feb 2025 20:58:59 -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: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 2d17f44a5ae6 - main - rc.d: Add hastd as a prereq for devd In-reply-to: <202502050047.5150lQQp032860@gitrepo.freebsd.org> References: <202502050047.5150lQQp032860@gitrepo.freebsd.org> Comments: In-reply-to Warner Losh message dated "Wed, 05 Feb 2025 00:47:26 +0000." 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 20:58:59 -0800 Message-Id: <20250205045859.AC7BB201@slippy.cwsent.com> X-CMAE-Envelope: MS4xfDaOTrATBtiEyxS2Z12TqPFRh7NXVHD06/xNH04AmWJ8PyXT+bYZ0W0kpJy2YuFIq/YLFHW5XpTiGbskzF1VzlTxoKgFIkY0w6c6+cjZtOX/UFPPJDhe QJNQ5WFjZd1M3GGS/Ojesxm3urtnAKoBU8EbqsvlVMHhxwL3uDNcLLSgBiODmLBEuL00GbDXIugak+bOkt0Ix8HIf4PQwQewHctExdSDLNcTr7fwUbdhht8T AcRXX0cgvyNmtkYsoUxZ7VEkudcXDl1PBtYazZsFRRXrGUg94QQ1NL6bFj6VYMeqyUyFut+CTEc+EaBHgXWmdil21GEwm1+Ozz2WdPNgH+E= X-Rspamd-Queue-Id: 4Ynp136Hjrz3kLq 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 <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=2d17f44a5ae6e948c3a93cac30b8315d > 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="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. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0