rc.d/jail and jail.conf

Dirk Engling erdgeist at erdgeist.org
Sun Mar 31 19:14:27 UTC 2013


On Sun, 31 Mar 2013, Jamie Gritton wrote:

> 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.

This violates POLA, but failing with

exec.prestart="echo skipping jail; exit 1"

might work. Even though this is not a good marker from a scripting 
perspective.

   erdgeist


More information about the freebsd-jail mailing list