MFC r273999:
Do not try to create a /dev/log symlink in a jail. PR: 179828
This commit is contained in:
parent
e5545eed6d
commit
c3413b1b08
@ -28,7 +28,7 @@ syslogd_precmd()
|
||||
|
||||
# Transitional symlink for old binaries
|
||||
#
|
||||
if [ ! -L /dev/log ]; then
|
||||
if [ ! -L /dev/log ] && ! check_jail jailed; then
|
||||
ln -sf /var/run/log /dev/log
|
||||
fi
|
||||
rm -f /var/run/log
|
||||
|
Loading…
Reference in New Issue
Block a user