From owner-freebsd-stable Mon Mar 12 5:27:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cisco.com (sword.cisco.com [161.44.208.100]) by hub.freebsd.org (Postfix) with ESMTP id AF3E537B718 for ; Mon, 12 Mar 2001 05:27:29 -0800 (PST) (envelope-from sjt@cisco.com) Received: from sjt-u10.cisco.com (sjt-u10.cisco.com [10.85.30.63]) by cisco.com (8.8.5-Cisco.1/8.8.8) with ESMTP id IAA21991 for ; Mon, 12 Mar 2001 08:27:27 -0500 (EST) From: Steve Tremblett Received: (sjt@localhost) by sjt-u10.cisco.com (8.8.5-Cisco.1/CISCO.WS.1.2) id IAA25065 for freebsd-stable@FreeBSD.ORG; Mon, 12 Mar 2001 08:27:27 -0500 (EST) Message-Id: <200103121327.IAA25065@sjt-u10.cisco.com> Subject: Re: nullfs et al To: freebsd-stable@FreeBSD.ORG Date: Mon, 12 Mar 2001 08:27:27 -0500 (EST) In-Reply-To: <200103091814.TAA91443@lurza.secnetix.de> from "Oliver Fromme" at Mar 09, 2001 07:14:55 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG +--- Oliver Fromme wrote: | | Hi, | | What is the "proper" way to mount binaries etc. into a | bunch of jail homes? Obviously, I don't want to copy | /bin, /usr/bin, /usr/lib etc. for every jailed user. | BTW, I'm using 4-stable. | | I've grepped the lists and found the following possible | solutions: | | (A) Local NFS loopback mounts. Seems to work reliably. | Is this the best way? Somehow it is my impression | that the NFS causes some overhead and might cause | some performance impact. Any opinions? | BTW, this particular machine doesn't use any NFS | otherwise (neither client nor server). An alternative to this could be symlinks. In a chroot()ed environment, the user should see symlinks OUT of the jail as the actual files. Populate /usr/local/jail/bin, /usr/local/jail/usr/bin... with whatever you want, and then just link /chroot/path/bin -> /usr/jail/bin... Then you eliminate the NFS overhead, but now links are eating all your inodes... -- Steve Tremblett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message