/etc/rc.d/jail does not currently test for the existance of the mountpoint for the devfs mount phase of jail startup. If the jail root is read only, the mount will fail, but the symlink is created anyway. Fix: Attached file aborts jail startup and uses warn to alert the user if the mount point directory doesn't exist Patch attached with submission follows: How-To-Repeat: Create a new jail in /jail/testjail rm /jail/testjail/dev /etc/rc.d/jail start /jail will contain a symlink named 'log' pointing to '../var/run/log'
Responsible Changed From-To: freebsd-bugs->freebsd-jail Over to maintainer(s).
As of 10-STABLE, this link is no longer created by /etc/rc.d/jail.