git: be834d62e990 - main - rc.conf.5: note that a negative nice value does not reach a service jail
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Aug 2026 17:43:53 UTC
The branch main has been updated by netchild:
URL: https://cgit.FreeBSD.org/src/commit/?id=be834d62e990b58eb2e67ce9b48b635b645dcea1
commit be834d62e990b58eb2e67ce9b48b635b645dcea1
Author: Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2026-08-30 09:45:01 +0000
Commit: Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2026-08-30 17:43:22 +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
---
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 9a76f25d7c5c..586e33980fd8 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