[patch] etc/rc.d/jail: allow extra parameters for each jails
Doug Barton
dougb at FreeBSD.org
Thu Aug 16 03:32:44 UTC 2012
On 08/15/2012 05:24 PM, Jun Kuriyama wrote:
> 2012/8/16 Doug Barton <dougb at freebsd.org>:
>> On 08/15/2012 03:19 PM, Jun Kuriyama wrote:
>>> #jail_example_flags="-l -U root" # flags for jail(8)
>>> +#jail_example_parameters="allow.raw_sockets=1" # extra parameters for this jail
>>
>> Why not just use _flags for this?
>
> Current implementation of rc.d/jail uses old command line syntax which
> cannot pass parameters to jail(8), so main modifications of my patch
> is changing this to use new command line style to use with "-c" flag
> and named parameters.
>
> Then, you are right, these named parameters can be passed via _flags
> after my patch. I just want separate command line option flags and
> named parameters. I don't have strong argument to add _parameters
> variables. I just think adding _parameters may be easy to
> configure/understand.
Thank you for the explanation. FWIW, this sounds reasonable to me.
Doug
More information about the freebsd-jail
mailing list