Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 10:25:25 -0600
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        FreeBSD Current <freebsd-current@FreeBSD.org>
Cc:        Martin Matuska <mm@FreeBSD.org>
Subject:   Re: [PATCH] updated /etc/rc.d/jail and added ZFS support
Message-ID:  <4E318D75.608@FreeBSD.org>
In-Reply-To: <4E316E19.9040309@FreeBSD.org>
References:  <4E316E19.9040309@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Since I missed the 9.0 boat with jail config file capability, something
like this seems necessary; rc.d/jail has long been unable to handle the
full scale of what jail(8) can do.

I gather that setting persist is necessary for the ZFS operation. As
long as we're making the parameter setting more generic from rc, we
should handle the case where persist is specified in ${_params}, and not
always set/reset it around the jail creation unless ZFS is used.

Also, why the specific inclusion of the security-related parameters?
They could just be folded into ${_params}, and if left unspecified then
jail(8) should by default do the right thing.

- Jamie


On 07/28/11 08:11, Martin Matuska wrote:
> The attached patch allows better fine-tuning of jails started via
> /etc/rc.d, uses the new jail(8) flags (-c -m), the persist parameter and
> adds ZFS support.
> Patch is fully backward compatible.
>
> Please review, comment and/or test my attached patch.
>
> Cheers,
> mm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E318D75.608>