Revert 1.73, since mounting devfs without a devfs ruleset inside a

jail is a very bad idea security wise.

Approved by:	trhodes (jcamou mentor)
No response:	jcamou
This commit is contained in:
Simon L. B. Nielsen 2006-05-28 09:44:13 +00:00
parent fdf1353cec
commit 0f9fc191de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159005

View File

@ -341,7 +341,6 @@ If you do decide to set this variable,
it must be set before starting any jails, and once each boot.
.Bd -literal -offset indent
ifconfig ed0 inet alias 192.168.11.100/32
mount_devfs devfs /data/jail/192.168.11.100/dev
mount -t procfs proc /data/jail/192.168.11.100/proc
jail /data/jail/192.168.11.100 testhostname 192.168.11.100 \\
/bin/sh /etc/rc