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:
parent
fdf1353cec
commit
0f9fc191de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159005
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user