git: 93457c4ec913 - main - rc: kldxref needs mountcritlocal, not root

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Apr 11 14:21:43 UTC 2021


The branch main has been updated by trasz:

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

commit 93457c4ec913d21fbb244cbe63da071de6b33f57
Author:     Edward Tomasz Napierala <trasz at FreeBSD.org>
AuthorDate: 2021-04-11 14:19:33 +0000
Commit:     Edward Tomasz Napierala <trasz at FreeBSD.org>
CommitDate: 2021-04-11 14:19:33 +0000

    rc: kldxref needs mountcritlocal, not root
    
    As pointed out by tijl@, kldxref(8) is in /usr/sbin, thus requires
    /usr to be mounted.
    
    Fixes:          44f3b1aa980
    Sponsored By:   EPSRC
---
 libexec/rc/rc.d/kldxref | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/kldxref b/libexec/rc/rc.d/kldxref
index 4c1fa15f2a35..ae562448103b 100755
--- a/libexec/rc/rc.d/kldxref
+++ b/libexec/rc/rc.d/kldxref
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: kldxref
-# REQUIRE: root
+# REQUIRE: mountcritlocal
 # BEFORE:  netif
 # KEYWORD: nojail
 


More information about the dev-commits-src-all mailing list