Date: Wed, 19 Jul 2006 13:55:06 +0100 From: Florent Thoumie <flz@xbsd.org> To: freebsd-rc@FreeBSD.org Subject: Re: RFC: new rc.d/jail changes (templating fstab entries and rootdir) Message-ID: <1153313706.70633.8.camel@mayday.esat.net> In-Reply-To: <1151336698.39710.23.camel@mayday.esat.net> References: <1151336698.39710.23.camel@mayday.esat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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_<jname>_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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1153313706.70633.8.camel>