From owner-freebsd-rc@FreeBSD.ORG Wed Jul 19 12:55:28 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 D786916A4DD for ; Wed, 19 Jul 2006 12:55:28 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 402B743D66 for ; Wed, 19 Jul 2006 12:55:22 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by smtp4-g19.free.fr (Postfix) with ESMTP id 1A90554A22 for ; Wed, 19 Jul 2006 14:55:22 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 3048B11B20 for ; Wed, 19 Jul 2006 14:55:20 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33802-04 for ; Wed, 19 Jul 2006 14:55:11 +0200 (CEST) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 49C3C11B13 for ; Wed, 19 Jul 2006 14:55:09 +0200 (CEST) From: Florent Thoumie To: freebsd-rc@FreeBSD.org In-Reply-To: <1151336698.39710.23.camel@mayday.esat.net> References: <1151336698.39710.23.camel@mayday.esat.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oYtoKk3s2ksaBDkFBn8y" Date: Wed, 19 Jul 2006 13:55:06 +0100 Message-Id: <1153313706.70633.8.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: 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 12:55:28 -0000 --=-oYtoKk3s2ksaBDkFBn8y Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2006-06-26 at 16:44 +0100, Florent Thoumie wrote: > If you're reading this mailing list attentively, you surely already > noticed those lines in last bugmaster mail : >=20 > o [2006/06/09] conf/98758 rc [patch] Templatize 'jail_fstab' in /etc/r > o [2006/06/12] conf/98846 rc [patch] Templatize 'jail_rootdir' in /etc >=20 > While I share Sergey's idea of templating things where possible, I don't > like having %%FOO%% everywhere. >=20 > I've written a patch which seems to address both of these "issues". >=20 > Basically, it's used like this : >=20 > jail_rootdir=3D"\${_name}" > jail_rootdir=3D"\${_hostname}" > jail_rootdir=3D"\${_ip}" >=20 > jail_mount_list=3D"ports" or > jail__mount_list=3D"ports" >=20 > jail_mount_ports_args=3D"-t nullfs /usr/ports \${_rootdir}/usr/ports" >=20 > Obviously I preferred my way to do those things but I'd like to get some > review before it makes it to the tree. >=20 > Patch is here : http://people.freebsd.org/~flz/local/jail-tpl.diff Ping? --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-oYtoKk3s2ksaBDkFBn8y Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBEviuqMxEkbVFH3PQRAi84AKCIA7CDnNb+kw5ns53HtPQqM7EAPwCfQIJj xln22oD/LYJ+CCglXiwi2XA= =nDm1 -----END PGP SIGNATURE----- --=-oYtoKk3s2ksaBDkFBn8y--