Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2025 17:07:13 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7999ce0d290a - stable/15 - rc.subr: Use the variable we defined to invoke setaudit(8)
Message-ID:  <6952b541.2705f.1338c97c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by markj:

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

commit 7999ce0d290a5e996e7d4b1dafc22a5da8a72414
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-12-14 15:47:06 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-12-29 14:31:31 +0000

    rc.subr: Use the variable we defined to invoke setaudit(8)
    
    Reported by:    gtetlow
    Fixes:          39ee24182b92 ("rc.subr: Support setting the audit user when starting services")
    MFC after:      1 week
    
    (cherry picked from commit 9dda51f13cd85791c0f18782461219f5a88e2d67)
---
 libexec/rc/rc.subr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr
index c6f29c6b0c99..4e19d10f5e4e 100644
--- a/libexec/rc/rc.subr
+++ b/libexec/rc/rc.subr
@@ -1151,7 +1151,7 @@ run_rc_command()
 	fi
 	_setauditcmd=
 	if [ -n "$_audit_user" ]; then
-		_setauditcmd="setaudit -U -a $_audit_user"
+		_setauditcmd="$SETAUDIT -U -a $_audit_user"
 	fi
 
 	# If a specific jail has a specific svcj request, honor it (YES/NO).


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6952b541.2705f.1338c97c>