New jail(8) committed

Jamie Gritton jamie at FreeBSD.org
Mon Apr 30 01:44:59 UTC 2012


On 04/29/12 17:37, Mr Dandy wrote:
> Looks like the new functionality lost abilities of old /etc/rc.d/jail to carry
> out multiple quantity of prestart/stop instruction
>
> Old cool feature:
> jail_example_exec_afterstart0=""
> jail_example_exec_afterstart1=""
> ..
>
> In new style it doesn't work:
> exec.start0 = '/bin/date';
> exec.start1 = '/bin/date';
> ..

I'll need to make sure I have the documentation in order for this.  You 
can have:

exec.start = '/bin/foo';
exec.start += '/bin/bar';

> also it would be great to have "include<config>" for some other places
> (/etc/jail.d for example) that it was possible to have one config per jail.

Yes it would.  This is one of the things on my to-do list.

- Jamie


More information about the freebsd-jail mailing list