git: 7999ce0d290a - stable/15 - rc.subr: Use the variable we defined to invoke setaudit(8)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Dec 2025 17:07:13 UTC
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).