Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2013 21:14:23 +0200 (CEST)
From:      Dirk Engling <erdgeist@erdgeist.org>
To:        Jamie Gritton <jamie@FreeBSD.org>
Cc:        freebsd-jail@FreeBSD.org
Subject:   Re: rc.d/jail and jail.conf
Message-ID:  <alpine.BSF.2.00.1303312112370.85469@erdgeist.org>
In-Reply-To: <515888BA.8060804@FreeBSD.org>
References:  <515721F8.9090202@erdgeist.org> <AA7CA531-5197-4BBC-B260-A3EC8B7A1024@inbox.im> <alpine.BSF.2.00.1303302157010.85469@erdgeist.org> <515847AF.8070808@FreeBSD.org> <5158526A.4020400@quip.cz> <51586419.5090207@FreeBSD.org> <51586DC8.7030500@quip.cz> <515880F3.1050300@FreeBSD.org> <5158874C.2060701@erdgeist.org> <515888BA.8060804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1303312112370.85469>