From owner-freebsd-hackers Wed Nov 13 12:27:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05BFE37B401 for ; Wed, 13 Nov 2002 12:27:36 -0800 (PST) Received: from web12806.mail.yahoo.com (web12806.mail.yahoo.com [216.136.174.41]) by mx1.FreeBSD.org (Postfix) with SMTP id ACC3443E4A for ; Wed, 13 Nov 2002 12:27:35 -0800 (PST) (envelope-from zaunere@yahoo.com) Message-ID: <20021113202735.15309.qmail@web12806.mail.yahoo.com> Received: from [66.114.70.134] by web12806.mail.yahoo.com via HTTP; Wed, 13 Nov 2002 12:27:35 PST Date: Wed, 13 Nov 2002 12:27:35 -0800 (PST) From: Hans Zaunere Subject: Re: Shared files within a jail To: freebsd-hackers@freebsd.org In-Reply-To: <3DD1F75D.12B10F92@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Terry Lambert wrote: > Hans Zaunere wrote: > > I want to allow the users the ability to compile and use their own > > instances of Apache and MySQL from within the jail. But instead of > > duplicating the basic system libs and bins, I'd like to maintain a > > single repository of this, which can then be read-only from within > the jail. Options: > > > > -- Symlinks won't work because of the chroot. > > -- Mounts from within the jail aren't allowed, plus a single > partition > > can't be mounted multiple times, AFAIK. > > -- I don't have NFS setup, and I would like to avoid it as much as > > possible. > > -- mount_null seems to be the answer, however the warning at the > end of > > the man page is scary. > > It's less scary, since you will be mounting read-only. I thank everyone for their suggestions, and I think I will go with null mounts, since it will in fact be read-only. I'd like to add that I think a completion of mount_null (and taking out the fright from the bottom of the man page :) would be greatly appreciated, since the functionality it provides is very valuable to running jails. I'm also looking forward to the next "version" of jail implementation! Thanks again all and keep up the excellent work, ===== Hans Zaunere New York PHP http://nyphp.org hans@nyphp.org __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message