The branch main has been updated by des:

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

commit 6ce227d6274869a95150746d2f2d8c8c5ed9a266
Author:     Dag-Erling Smørgrav <[email protected]>
AuthorDate: 2025-12-08 10:30:05 +0000
Commit:     Dag-Erling Smørgrav <[email protected]>
CommitDate: 2025-12-08 10:30:05 +0000

    cleanvar: Fix startup order
    
    Instead of having FILESYSTEMS require cleanvar, which doesn't really
    make semantic sense, say that cleanvar needs to run before FILESYSTEMS.
    
    MFC after:      3 days
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D54118
---
 libexec/rc/rc.d/FILESYSTEMS | 2 +-
 libexec/rc/rc.d/cleanvar    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/FILESYSTEMS b/libexec/rc/rc.d/FILESYSTEMS
index 1bf52077be8e..d93d65153e41 100755
--- a/libexec/rc/rc.d/FILESYSTEMS
+++ b/libexec/rc/rc.d/FILESYSTEMS
@@ -3,7 +3,7 @@
 #
 
 # PROVIDE: FILESYSTEMS
-# REQUIRE: root mountcritlocal cleanvar tmp
+# REQUIRE: root mountcritlocal tmp var
 
 #      This is a dummy dependency, for services which require filesystems
 #      to be mounted before starting.  It also serves as the default early /
diff --git a/libexec/rc/rc.d/cleanvar b/libexec/rc/rc.d/cleanvar
index dce5baa6875b..daae456fbe71 100755
--- a/libexec/rc/rc.d/cleanvar
+++ b/libexec/rc/rc.d/cleanvar
@@ -4,6 +4,7 @@
 
 # PROVIDE: cleanvar
 # REQUIRE: var
+# BEFORE:  FILESYSTEMS
 
 . /etc/rc.subr
 

Reply via email to