From owner-freebsd-current@FreeBSD.ORG Sun Mar 28 08:52:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B29FA16A4CE for ; Sun, 28 Mar 2004 08:52:58 -0800 (PST) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 463FB43D2D for ; Sun, 28 Mar 2004 08:52:58 -0800 (PST) (envelope-from kirk@strauser.com) Received: from pooh.strauser.com (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.10/8.12.10) with ESMTP id i2SGqud4030893 for ; Sun, 28 Mar 2004 10:52:57 -0600 (CST) (envelope-from kirk@strauser.com) To: freebsd-current@freebsd.org References: <20040326225740.GA3567@rocco.epita.fr> From: Kirk Strauser Date: Sun, 28 Mar 2004 10:52:53 -0600 In-Reply-To: <20040326225740.GA3567@rocco.epita.fr> (jeremie le-hen's message of "Fri, 26 Mar 2004 23:57:40 +0100") Message-ID: <87ptawewwq.fsf@strauser.com> Lines: 25 X-Mailer: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' Subject: Re: New jail related rc.conf variable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2004 16:52:58 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2004-03-26T22:57:40Z, jeremie le-hen writes: > Therefore, I though that the jail rc script was laking of flexibility in > sense that there is no simple way to do some unusual configuration before > starting the jail and I decided to add a `jail_example_pre_exec' variable > in rc.conf which is simply a command to execute before jailing. Alternatively, I'm still developing and using my JailAdmin scripts (available at http://subwiki.honeypot.net/cgi-bin/view/Freebsd/JailAdmin) . They provide functionality similar to /etc/rc.jail, but additionally provide the ability to mount filesystems before starting a jail and unmount them after stopping it, to manage an arbitrary number of named jails, and to get some statistics from running jails via SNMP. It's been a little while since the last update, but it still works correctly on -CURRENT systems. I'm anticipating a few changes in the near future, possibly including packing the system as a port. =2D-=20 Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAZwLo5sRg+Y0CpvERAnEkAJ9fmyeDaTrEw93YG55ksgJqYtfq2wCfSbjy TvKJCzGLb4rBYh0J7pB155w= =KYY/ -----END PGP SIGNATURE----- --=-=-=--