Date: Tue, 08 Nov 2011 21:58:58 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Martin Matuska <mm@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@FreeBSD.org>, Jamie Gritton <jamie@FreeBSD.org> Subject: Re: [PATCH] updated /etc/rc.d/jail (ZFS support, persistent jails and other features) Message-ID: <4EB99812.3010107@quip.cz> In-Reply-To: <4EB94F6D.3020100@FreeBSD.org> References: <4E316E19.9040309@FreeBSD.org> <4E318D75.608@FreeBSD.org> <4E31A3CD.60500@FreeBSD.org> <4E31AEC6.8080106@FreeBSD.org> <4E331DC1.5000108@FreeBSD.org> <4E348673.6080406@FreeBSD.org> <4EB94F6D.3020100@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin Matuska wrote: > I have improved the jail etc script significantly (in addition to ZFS > support and other improvements). > > - you can now set a jail_name="" parameter to set the name for your jail > - the jails are still searched by "name", so you cannot manage the jail > with the script if "name" in /etc/rc.conf changes while running. > - the "status" subcommand now also shows the number of running > processes, this way you can identify an empty jail > - there are also two new subcommands - "create" and "remove", intended > for persistent jail operation > - if a jail is set to persistent, you can do the following sequence: > create start stop remove. > - non-persistent jails may also be created (won't be started) but will > be removed on a "stop" > > http://people.freebsd.org/~mm/patches/jail/jail_etc.v2.patch > http://people.freebsd.org/~mm/patches/jail/jail_etc.v2.nowhitespace.patch Just a note - there were many attempts to add jail_myjail_name="myjail" variable to rc.conf but it was always denied with same answer: There is no reason for it, it can be done by jail_myjail_flags=" -n myjail" See this PR http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/150599 and freebsd-jail@ archive. Maybe it will change in jail v2 land or jail config by Jamie... Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EB99812.3010107>