From owner-freebsd-rc@FreeBSD.ORG Sat Oct 13 22:54:21 2007 Return-Path: Delivered-To: freebsd-rc@FreeBSD.Org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACD6516A420 for ; Sat, 13 Oct 2007 22:54:21 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [80.237.196.4]) by mx1.freebsd.org (Postfix) with ESMTP id F1C2A13C478 for ; Sat, 13 Oct 2007 22:54:20 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 40917 invoked by uid 0); 13 Oct 2007 22:27:04 -0000 Received: from erdgeist.org (erdgeist@erdgeist.org@80.237.196.15) by elektropost.org with AES256-SHA encrypted SMTP; 13 Oct 2007 22:27:04 -0000 Date: Sun, 14 Oct 2007 00:27:03 +0200 (CEST) From: Dirk Engling To: Mike Makonnen In-Reply-To: <20071010194000.GA7260@terra.mike.lan> Message-ID: <20071014001341.I24298@erdgeist.org> References: <20071010194000.GA7260@terra.mike.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-rc@FreeBSD.Org, jeremie@le-hen.org, bug-followup@FreeBSD.org Subject: Re: conf/116416: [patch] per-jail rc.conf(5) style configuration file in /etc/jail/ X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2007 22:54:21 -0000 On Wed, 10 Oct 2007, Mike Makonnen wrote: > I like this patch, especially the second revision. I think people who > run a very large number of jails will appreciate it. However, I'd like > to see a few changes made: Hi, before you reinvent the wheel, I'd like you to take a look at my ezjail[1] project. I've done much of the work more than two years ago and would call the results stable and in wide use. I'd be too happy to just use /etc/jail.d as config directory for jails, as I do today with /usr/local/etc/ezjail. However, if you write config files the right way, there is no need to throw awk on them, just source them. Usign an rcorder style scheme on config files allows starting jails in a predefined order. Allowing some pre-start commands to mount root dirs or attach certain disc based memory images would be helpful, too. I'd hate to see diverging developments on jail configs so please do not rush into some sub-optimal decisions. Regards erdgeist [1] http://erdgeist.org/arts/software/ezjail/