summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2016-04-30 15:06:18 +0000
committerjamie <jamie@FreeBSD.org>2016-04-30 15:06:18 +0000
commitf235f50008dbef6203dc032d7f3ddf77cb7a2024 (patch)
tree9c9882419593294a269f950e9f72840f20630b95 /share
parent8ed4b37d5a75437cbb57735058a357a32958853e (diff)
downloadFreeBSD-src-f235f50008dbef6203dc032d7f3ddf77cb7a2024.zip
FreeBSD-src-f235f50008dbef6203dc032d7f3ddf77cb7a2024.tar.gz
MFC r295471:
Add new rc.conf parameter "jail_reverse_stop" When a user defines "jail_list" in rc.conf the jails are started in the order defined. Currently the jails are not are stopped in reverse order which may break dependencies between jails/services and prevent a clean shutdown. The new parameter "jail_reverse_stop" will shutdown jails in "jail_list" in reverse order when set to "YES". Please note that this does not affect manual invocation of the jail rc script. If a user runs the command # service jail stop jail1 jail2 jail3 the jails will be stopped in exactly the order specified regardless of jail_reverse_stop being defined in rc.conf. MFC r295568: Document the new jail_reverse_stop parameter While here clean up the documentation for jail_list PR: 196152 Submitted by: feld
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/rc.conf.528
1 files changed, 15 insertions, 13 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index f354c7c..62399c6 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -3938,20 +3938,22 @@ for every jail in
.Va jail_list .
.It Va jail_list
.Pq Vt str
-A space separated list of names for jails.
-If this variable is empty,
-all of
+A space-delimited list of jail names.
+When left empty, all of the
.Xr jail 8
-instances in the configuration file will be configured.
-This is purely a configuration aid to help identify and
-configure multiple jails.
-The names specified in this list will be used to
-identify settings common to an instance of a jail,
-and should contain alphanumeric characters only.
-The literal jail name of
-.Dq Li 0
-.Pq zero
-is not allowed.
+instances defined in the configuration file are started.
+The names specified in this list control the jail startup order.
+.Xr jail 8
+instances missing from
+.Va jail_list
+must be started manually.
+.It Va jail_reverse_stop
+.Pq Vt bool
+When set to
+.Dq Li YES ,
+all configured jails in
+.Va jail_list
+are stopped in reverse order.
.It Va jail_* variables
Note that older releases supported per-jail configuration via
.Xr rc.conf 5
OpenPOWER on IntegriCloud