Date: Thu, 16 Aug 2012 12:24:54 +0900 From: Jun Kuriyama <kuriyama@FreeBSD.org> To: Doug Barton <dougb@freebsd.org> Cc: freebsd-jail@freebsd.org Subject: Re: [patch] etc/rc.d/jail: allow extra parameters for each jails Message-ID: <CAEz5XLQa9zEa2MPQ4%2ByoAEOf959Tc4oa04pBrpiLXctR8N-V9g@mail.gmail.com> In-Reply-To: <502C65A0.2060606@FreeBSD.org> References: <7mlihf1vmg.wl%kuriyama@s2factory.co.jp> <502C65A0.2060606@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2012/8/16 Doug Barton <dougb@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@FreeBSD.org> // FreeBSD Project <kuriyama@s2factory.co.jp> // S2 Factory, Inc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEz5XLQa9zEa2MPQ4%2ByoAEOf959Tc4oa04pBrpiLXctR8N-V9g>