From owner-freebsd-jail@FreeBSD.ORG Mon Apr 30 01:44:59 2012 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6C1E106566B for ; Mon, 30 Apr 2012 01:44:59 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from m2.gritton.org (gritton.org [199.192.164.235]) by mx1.freebsd.org (Postfix) with ESMTP id 91FEF8FC0C for ; Mon, 30 Apr 2012 01:44:59 +0000 (UTC) Received: from glorfindel.gritton.org (c-174-52-130-208.hsd1.ut.comcast.net [174.52.130.208]) (authenticated bits=0) by m2.gritton.org (8.14.4/8.14.4) with ESMTP id q3U1irBZ021384; Sun, 29 Apr 2012 19:44:53 -0600 (MDT) (envelope-from jamie@FreeBSD.org) Message-ID: <4F9DEE93.4000602@FreeBSD.org> Date: Sun, 29 Apr 2012 19:44:51 -0600 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20120129 Thunderbird/3.1.16 MIME-Version: 1.0 To: Mr Dandy References: <4F99AB0E.4090805@FreeBSD.org> <8AFDD50D-038D-4D71-A67A-7D9BE629DAFA@lists.zabbadoz.net> <201204300337.08712.subbsd@gmail.com> In-Reply-To: <201204300337.08712.subbsd@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Bjoern A. Zeeb" , freebsd-jail@FreeBSD.org Subject: Re: New jail(8) committed X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 01:44:59 -0000 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" 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