New jail(8) committed

Jason Hellenthal jhellenthal at dataix.net
Mon Apr 30 02:09:51 UTC 2012



On Sun, Apr 29, 2012 at 07:44:51PM -0600, Jamie Gritton wrote:
> 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';

Thank you.... no more renumbering 

> 
> > 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
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"

-- 

 - (2^(N-1))


More information about the freebsd-jail mailing list