[Bug 196152] jail_list is not reversed when stopping jails

James Gritton jamie at gritton.org
Sat Apr 30 21:05:11 UTC 2016


On 2016-04-30 13:07, Dewayne Geraghty wrote:

> Jamie,
> As you're working in this, it might be opportune to clarify (perhaps in 
> jail(8)) which has precedence:
> jail_list (via rc.conf), or
> depends (via jail.conf)
> Cheers.

You're right, it's not very clear.  jail(8) says the dependencies
"must" be created before a jail that has the "depend" parameter, but
in actuality it *will* be automatically created.  Likewise, removing a
jail *will* automatically remove jails that depend on it.  I'll reword
that.

The clash between that and jail_list is better left I think to
rc.conf(5).  I'll mention something there about "depend" possibly
overriding the list.

- Jamie


More information about the freebsd-jail mailing list