Re: [PATCH] updated /etc/rc.d/jail and added ZFS support

From: Jamie Gritton <jamie_at_FreeBSD.org>
Date: Thu, 28 Jul 2011 10:25:25 -0600
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
Received on Thu Jul 28 2011 - 14:25:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC