From owner-freebsd-current@FreeBSD.ORG Sat Mar 27 01:11:16 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 8B9A216A4CE for ; Sat, 27 Mar 2004 01:11:16 -0800 (PST) Received: from darkness.comp.waw.pl (unknown [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id D86B343D3F for ; Sat, 27 Mar 2004 01:11:15 -0800 (PST) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 291C8ACAF8; Sat, 27 Mar 2004 10:11:14 +0100 (CET) Date: Sat, 27 Mar 2004 10:11:14 +0100 From: Pawel Jakub Dawidek To: jeremie le-hen Message-ID: <20040327091114.GN8930@darkness.comp.waw.pl> References: <20040326225740.GA3567@rocco.epita.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XCAWwTQADTZzNDLi" Content-Disposition: inline In-Reply-To: <20040326225740.GA3567@rocco.epita.fr> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: current@freebsd.org 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: Sat, 27 Mar 2004 09:11:16 -0000 --XCAWwTQADTZzNDLi Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 26, 2004 at 11:57:40PM +0100, jeremie le-hen wrote: +> while setting up a jail using rc.conf variables, I noticed that although +> there were some variables controlling whether or not I want to mount dev= fs +> or procfs, I did not found any simple way to use some nullfs or unionfs +> mounts inside it. 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. +> The scrawny patch is attached. Why you cannot add those mounts to /etc/fstab? --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --XCAWwTQADTZzNDLi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAZUUyForvXbEpPzQRAn02AJ9RZvvQxnbZLz37LQKIdUtvCxMcNgCeLck8 HvOzQ+Tg1fv9+rKa6C75zvA= =VPFH -----END PGP SIGNATURE----- --XCAWwTQADTZzNDLi--