[patch] etc/rc.d/jail: allow extra parameters for each jails
Jun Kuriyama
kuriyama at FreeBSD.org
Thu Aug 16 03:24:55 UTC 2012
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.
--
Jun Kuriyama <kuriyama at FreeBSD.org> // FreeBSD Project
<kuriyama at s2factory.co.jp> // S2 Factory, Inc.
More information about the freebsd-jail
mailing list