From nobody Wed Feb 5 05:00:23 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 4Ynp2s5G7Pz5n6Bs for ; Wed, 05 Feb 2025 05:00:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ynp2r3xkzz3knD for ; Wed, 05 Feb 2025 05:00:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2f4448bf96fso8285669a91.0 for ; Tue, 04 Feb 2025 21:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1738731635; x=1739336435; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5dVA00RTWvPtrjeAFFkYeKfpawojnqFUs+MDVZj8m8g=; b=jwE/lUfe7leKfNeYZg0TGQovPhe0cpCeZNtSpHhBOYDSbOO3DanfxVwiag7HG3KUdz tmllXWAUfnXswgzqgbs4z1v5y91XOqKBS1hIlZTVfcbHPJI27TcfnygR7tQScnfLh/OM /gFZjlUQDCTW4QsYly2s5ljRagmLL9EMgmeB8CMwJ52gDhCLREpHQWYF3bnw2chNVQI4 O8siOZ511iOgbhladP82fQs66wx9i+5hZ5UBsPLyjDo56KkG7iXl1QaVFwN8mh4lKY9H JynZxmu5IIn/I/UCfze4iRvb00ZoakjxS4YXharNnz8fTu3q43A1yAGA5Uieu/HhpsFT 1wig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738731635; x=1739336435; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5dVA00RTWvPtrjeAFFkYeKfpawojnqFUs+MDVZj8m8g=; b=gzGOs33/Iros0aXCDO0WKO2qi1T+Zl05DDy8Lx9aU1hmmLkuVGo/FCo77HKn9Dd30H +ARp34OENL8C2Dib2FnCRTLcR0h1TgjEFhDmxJ7V4cw7fERf69qI4etcZzA8MgLlJThn ZbNeL5xGTk3vKJs0CX2J/6659Y3YM6U3IvvY1pQQpcwc6XrkVCe2G28uPHXWRRiM8xXV kd7ATwRVv/9aCihwuo4WyhqZIa8QryzR3+0XAaW4gz1xnM6d/F8tVtkADUZYl/hOJPmN a29g1MCBgGqc0WOZTTqD9WTypA3QEqDv0srjLukdziZNwnCthQ+H4OyJ+rqAJoR67eBY z8Aw== X-Forwarded-Encrypted: i=1; AJvYcCV8K3UseMHo3ydUanZvZzWBdwtki18GgeYNrAT+qKkg+719rQLqIa/lCeXlV4hsemiUGR1fgtH3WX13miUlH/yYGwivUQ==@freebsd.org X-Gm-Message-State: AOJu0YwP3TYUrAHTzGl1UGNNUYGpXNi8+Yq099yMoLlW5bxF9v8olclL 8NvCeZ6U/7UZRQVbS9WXV8mIYqda9oePiUL0CBw/uVnK9CMZNsrHtf0pjJeYXkNs52FA4wGozBU YNB/PYMyDR/GB+GhOR9l30nAvCcdQI/jizkK9aA== X-Gm-Gg: ASbGnct9JQTONBsUPVx+7rlsjrOnvXRKAKp6u7H/UTEOMP3Sd3wdQR0lpyV2pdg8HkT wE+Dl8gKTXdZvYSHl74vD3SVh6qlyuEfIBEmvLUskv7w//NtloZbxfVGry/w6IuhSI9u2V5x7uU fcGiEPw4xW9M6L7qkQjakjbVs7 X-Google-Smtp-Source: AGHT+IEQQNikAd+/HWn6IPuhvFOWpkmFT7jjzR1eoVfWJMVCSF+nXklKLoVYexariIjxkLxRu/dRlUc9/3t+PGe0IZE= X-Received: by 2002:a17:90b:4a92:b0:2ee:b2fe:eeeb with SMTP id 98e67ed59e1d1-2f9e07ff91cmr1968718a91.22.1738731634967; Tue, 04 Feb 2025 21:00:34 -0800 (PST) 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 References: <202502050047.5150lQQp032860@gitrepo.freebsd.org> <20250205045859.AC7BB201@slippy.cwsent.com> In-Reply-To: <20250205045859.AC7BB201@slippy.cwsent.com> From: Warner Losh Date: Tue, 4 Feb 2025 22:00:23 -0700 X-Gm-Features: AWEUYZl2fzJWMSGKtCD27pHLZ-At4wqR5DRagKJ3r7rJ8v25v6syWr4UhMc4ne8 Message-ID: Subject: Re: git: 2d17f44a5ae6 - main - rc.d: Add hastd as a prereq for devd To: Cy Schubert Cc: Warner Losh , src-committers , "" , "" Content-Type: multipart/alternative; boundary="00000000000076657b062d5e01a8" X-Rspamd-Queue-Id: 4Ynp2r3xkzz3knD 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:15169, ipnet:2607:f8b0::/32, country:US] --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


On Tue, Feb 4, 2025, 9:59=E2=80= =AFPM Cy Schubert <Cy.Schub= ert@cschubert.com> wrote:
In= message <202502050047.5150lQQp032860@gitre= po.freebsd.org>, Warner Losh
write
s:
> The branch main has been updated by imp:
>
> URL: https= ://cgit.FreeBSD.org/src/commit/?id=3D2d17f44a5ae6e948c3a93cac30b8315d > 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=A0https://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: 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">
--
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:=C2=A0 <cy@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 ht= tps://FreeBSD.org
NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<cy@nwtime.org>=C2=A0 =C2= =A0 Web:=C2=A0 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--