Date: Sat, 13 Dec 2025 22:02:37 +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-branches@FreeBSD.org Subject: git: 8959eda100d5 - stable/15 - noshutdown: Fix startup order Message-ID: <693de27d.38012.6f4378a@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/15 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=8959eda100d518383401b5bc64ea227f2dac28b2 commit 8959eda100d518383401b5bc64ea227f2dac28b2 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-13 22:01:14 +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 (cherry picked from commit e540e8b2c04f03b4210a3bf2f421c05b918d1b51) --- 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?693de27d.38012.6f4378a>
