From owner-freebsd-jail@FreeBSD.ORG Thu Jan 27 17:43:28 2011 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 9BE341065679; Thu, 27 Jan 2011 17:43:28 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [208.92.232.93]) by mx1.freebsd.org (Postfix) with ESMTP id 42F7D8FC1C; Thu, 27 Jan 2011 17:43:27 +0000 (UTC) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.14.3/8.14.3) with ESMTP id p0RH7jZn013600; Thu, 27 Jan 2011 10:07:46 -0700 (MST) (envelope-from jamie@FreeBSD.org) Message-ID: <4D41A65C.70204@FreeBSD.org> Date: Thu, 27 Jan 2011 10:07:40 -0700 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20110107 Thunderbird/3.1.6 MIME-Version: 1.0 To: Dirk Engling References: <20110127120447.GA40060@psconsult.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, freebsd-jail@FreeBSD.org Subject: Re: rc.d/jail issues 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: Thu, 27 Jan 2011 17:43:28 -0000 That's where it's headed. I've been slow on progress lately, but I'm working on a jail(8) that takes a config file instead of rc shell variables, and takes care of dependency issues among other things. - Jamie On 01/27/11 08:42, Dirk Engling wrote: > On Thu, 27 Jan 2011, Paul Schenkeveld wrote: > >> like to start A before B but shutdown B before A. Would it make sense >> to reverse the order in which jails are stopped during shutdown by >> reversing the nales in $jail_list? > > Yikes, it does indeed make sense, that's why I already do it in the > ezjail utility, besides having jail dependencies worked out by rcorder... > > Now, if /etc/rc.d/jail starts to reverse the list ezjail reverses > before, I'm in trouble. Maybe it's time to think about moving some more > jail abstraction - including jail dependencies - to the base system.