Date: Mon, 12 Mar 2001 08:27:27 -0500 (EST) From: Steve Tremblett <sjt@cisco.com> To: freebsd-stable@FreeBSD.ORG Subject: Re: nullfs et al Message-ID: <200103121327.IAA25065@sjt-u10.cisco.com> In-Reply-To: <200103091814.TAA91443@lurza.secnetix.de> from "Oliver Fromme" at Mar 09, 2001 07:14:55 PM
next in thread | previous in thread | raw e-mail | index | archive | help
+--- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103121327.IAA25065>
