Do not try to create a /dev/log symlink in a jail.

PR:	179828
This commit is contained in:
hrs 2014-11-03 00:37:39 +00:00
parent 407cb49402
commit 90a2b12f5f

View File

@ -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