Clarify when happens when there is a "depend" parameter in jail.conf,

and how this affects the "jail_list" option in rc.conf.
This commit is contained in:
Jamie Gritton 2016-04-30 21:27:41 +00:00
parent cac8854eb6
commit ab9604e1bb
2 changed files with 9 additions and 5 deletions

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd April 29, 2016
.Dd April 30, 2016
.Dt RC.CONF 5
.Os
.Sh NAME
@ -3868,6 +3868,9 @@ The names specified in this list control the jail startup order.
instances missing from
.Va jail_list
must be started manually.
Note that a jail's
.Va depend
parameter in the configuration file may override this list.
.It Va jail_reverse_stop
.Pq Vt bool
When set to

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd April 25, 2016
.Dd April 30, 2016
.Dt JAIL 8
.Os
.Sh NAME
@ -838,13 +838,14 @@ Allow making changes to a
jail.
.It Va depend
Specify a jail (or jails) that this jail depends on.
Any such jails must be fully created, up to the last
When this jail is to be created, any jail(s) it depends on must already exist.
If not, they will be created automatically, up to the completion of the last
.Va exec.poststart
command, before any action will taken to create this jail.
When jails are removed the opposite is true:
this jail must be fully removed, up to the last
this jail will be removed, up to the last
.Va exec.poststop
command, before the jail(s) it depends on are stopped.
command, before any jail(s) it depends on are stopped.
.El
.Sh EXAMPLES
Jails are typically set up using one of two philosophies: either to