rc.d/jail and jail.conf
jamie at FreeBSD.org
Sun Mar 31 19:04:33 UTC 2013
On 03/31/13 12:58, Dirk Engling wrote:
> On 31.03.13 20:31, Jamie Gritton wrote:
>> That seems reasonable, but using a jail list in rc.conf may suffice.
> It is less error prone to just use 'jail_list=*' in rc.conf and disable
> jails per config block, and then issue a warning like 'Skipping disabled
> jail(s) foo, bar, baz'.
> (Although I see this from a perspective of jails being virtual hosts
> that should be configurable by automated tools, too.)
If you don't mind some slightly difficult error messages, you can always
"disable" a jail with exec.prestart="false". jail(8) requires all
commands to succeed, and in particular won't even create a jail when one
of the prestart commands fails.
More information about the freebsd-jail