From owner-freebsd-jail@FreeBSD.ORG Mon Dec 7 22:06:02 2009 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28F84106566B for ; Mon, 7 Dec 2009 22:06:02 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id D84D38FC08 for ; Mon, 7 Dec 2009 22:06:01 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A9EE819E045; Mon, 7 Dec 2009 23:05:57 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 778DF19E044; Mon, 7 Dec 2009 23:05:55 +0100 (CET) Message-ID: <4B1D7C42.2070303@quip.cz> Date: Mon, 07 Dec 2009 23:05:54 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0 MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <2ec071a80912070104i6a7a38e3labc33ee3b494cef5@mail.gmail.com> <20091207122256.45984m6btgeeugmc@webmail.leidinger.net> <4B1CF4B3.8020708@quip.cz> <20091207182241.I83957@maildrop.int.zabbadoz.net> <4B1D5A45.1010301@quip.cz> <20091207203957.P83957@maildrop.int.zabbadoz.net> In-Reply-To: <20091207203957.P83957@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: jail@freebsd.org Subject: Re: ezjail with vimage 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, 07 Dec 2009 22:06:02 -0000 Bjoern A. Zeeb wrote: > *mumble* *tired* *again* .. > > Let me cite man rc.conf to not mess it up again: > > jail__exec_afterstart > (str) Unset by default. This is the command run as Nth com- > mand in a jail after jail startup, where N is 1, 2, and so on. > > jail__exec_poststart > (str) Unset by default. This is the command run as Nth com- > mand after jail startup, where N is 0, 1, and so on. It is > run outside the jail. And that's it! I have my jails on 7.x (same machines as was in time of my first question about cpuset) and 7.2 have not exec_poststart in rc.conf or rc.d/jail. exec_poststart is available only on 8.0+ I can imagine solution with exec_poststart. Will it be merged to 7-STABLE or should I do it in my private copy? Thank you for your clarification of this issue. Miroslav Lachman