From owner-freebsd-rc@FreeBSD.ORG Wed Jul 19 13:16:31 2006 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F13E16A4DE for ; Wed, 19 Jul 2006 13:16:31 +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 94BC443D46 for ; Wed, 19 Jul 2006 13:16:30 +0000 (GMT) (envelope-from erdgeist@erdgeist.org) Received: (qmail 60040 invoked by uid 0); 19 Jul 2006 13:15:37 -0000 Received: from fnord.cryptophone.de (HELO ?10.1.1.71?) (erdgeist@erdgeist.org@62.220.7.20) by elektropost.org with AES256-SHA encrypted SMTP; 19 Jul 2006 13:15:37 -0000 Message-ID: <44BE30AD.3020106@erdgeist.org> Date: Wed, 19 Jul 2006 15:16:29 +0200 From: Dirk Engling User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060516) MIME-Version: 1.0 To: Florent Thoumie References: <1151336698.39710.23.camel@mayday.esat.net> <1153313706.70633.8.camel@mayday.esat.net> In-Reply-To: <1153313706.70633.8.camel@mayday.esat.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: RFC: new rc.d/jail changes (templating fstab entries and rootdir) 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: Wed, 19 Jul 2006 13:16:31 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Florent Thoumie wrote: > Ping? I don't like the way all this goes. The problem (still) is, that there is no good abstraction for a jail, hence it is hard to group jails together which would be the right way to 'templatize' common actions. Mount stuff belongs to /etc/fstab.jailname, period. It does not (or rarely) change, so there is really no need to do run time calculations and even put variable names into your rc.conf (which seems a bad idea in itself). If you have a proper abstraction and can group jails, editing those fstabs via a configuration utility should be simple. My mail with the proposed patch to start abstracting jails in /etc/jails has been ignored on the list, maybe this is the right time to bring it up again: http://erdgeist.org/arts/software/jail/jail.1.34.diff with that patch it is possible to have an alternative location for your jail configs without the need to configure the jail list manually in rc.conf. Those per-jail config files can be read, altered and deleted by very simple means. They could serve as a convenient starting point to templatize at creation time, not run time. Any comments, criticism? Regards erdgeist -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEvjCsImmQdUyYEgkRAszvAJ4oWuriTX/38U6m6w7soSXdkveLdACgkhhE pE2N5kCiQ+TtzLtu4T/sJWg= =gUET -----END PGP SIGNATURE-----