MFC r273999:

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

PR:	179828
This commit is contained in:
hrs 2015-02-14 18:56:44 +00:00
parent e5545eed6d
commit c3413b1b08

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