Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2025 10:31:11 +0000
From:      Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e540e8b2c04f - main - noshutdown: Fix startup order
Message-ID:  <6936a8ef.8021.5692874d@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help

The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=e540e8b2c04f03b4210a3bf2f421c05b918d1b51

commit e540e8b2c04f03b4210a3bf2f421c05b918d1b51
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-12-08 10:30:10 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-12-08 10:30:10 +0000

    noshutdown: Fix startup order
    
    This rc script exists solely to create a file, so have it explicitly
    require FILESYSTEMS.  In its current form, it was as likely as not to
    end up running before cleanvar, which would undo its work.
    
    MFC after:      3 days
    Fixes:          384d976725a5 ("rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown")
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D54119
---
 libexec/rc/rc.d/noshutdown | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/noshutdown b/libexec/rc/rc.d/noshutdown
index 54924310a6c7..4c2ae9a3f488 100755
--- a/libexec/rc/rc.d/noshutdown
+++ b/libexec/rc/rc.d/noshutdown
@@ -3,7 +3,7 @@
 #
 
 # PROVIDE: noshutdown
-# REQUIRE: var
+# REQUIRE: FILESYSTEMS
 # BEFORE:  LOGIN
 
 . /etc/rc.subr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6936a8ef.8021.5692874d>