git: f1cc2f565739 - stable/15 - rc.conf.5: note that a negative nice value does not reach a service jail

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Sun, 06 Sep 2026 10:01:25 UTC
The branch stable/15 has been updated by netchild:

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

commit f1cc2f565739f5b142bead88ef8e5ee9d74407cd
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2026-08-30 09:45:01 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2026-09-06 09:58:47 +0000

    rc.conf.5: note that a negative nice value does not reach a service jail
    
    Raising a process' priority is not permitted inside a jail, and nice(1)
    warns and executes the command anyway, so the service comes up at its login
    class priority.
    
    Not changing the date, as a commit a moment before this, one changed it
    already.
    
    MFC after:      1 week
    MFC to:         stable/15
    
    (cherry picked from commit be834d62e990b58eb2e67ce9b48b635b645dcea1)
---
 share/man/man5/rc.conf.5 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index d48ce72de088..5e02d1f199cc 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -5081,6 +5081,14 @@ is enabled in the kernel.
 
 All non-network options can be combined with all other options.
 From the SysV options only one option can be specified.
+.Pp
+A negative
+.Ao Ar name Ac Ns Va _nice
+has no effect on a service in a service jail.
+Raising the priority of a process is not permitted inside a jail, and
+.Xr nice 1
+starts the service at the priority of its login class instead of
+failing.
 
 If the
 .Ao Ar name Ac Ns Va _svcj