The branch stable/15 has been updated by netchild: URL: https://cgit.FreeBSD.org/src/commit/?id=af97285a6726dbc321250ae61a91ceb237ba07b5
commit af97285a6726dbc321250ae61a91ceb237ba07b5 Author: Alexander Leidinger <[email protected]> AuthorDate: 2026-08-30 09:44:59 +0000 Commit: Alexander Leidinger <[email protected]> CommitDate: 2026-09-06 09:58:47 +0000 rc.subr: svcj - add a setaudit option setaudit(8) is prefixed to the command inside the jail when ${name}_audit_user is set, and needs allow.setaudit. This is not added automatically when ${name}_audit_user is set, this needs an administrative setting of the options on purpose. MFC after: 1 week MFC to: stable/15 (cherry picked from commit 9125bc0727dbbf82b1c6a5f7c380f7b8c27b74dd) --- libexec/rc/rc.subr | 3 +++ share/man/man5/rc.conf.5 | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index 5bcd104a9cd1..3c53382ccfd8 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -1290,6 +1290,9 @@ run_rc_command() routing) _opts="allow.routing" ;; + setaudit) + _opts="allow.setaudit" + ;; settime) _opts="allow.settime" ;; diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index b666345def48..d48ce72de088 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 2, 2026 +.Dd August 30, 2026 .Dt RC.CONF 5 .Os .Sh NAME @@ -5059,6 +5059,10 @@ have not had jail functionality added to them. Allows to run nfsd and affiliated daemons. .It routing Allows to modify the system routing table. +.It setaudit +Allows to set the audit properties of the service, which +.Ao Ar name Ac Ns Va _audit_user +needs. .It settime Allows to set and slew the system time. .It sysvipc
