Do not try to create a /dev/log symlink in a jail.
PR: 179828
This commit is contained in:
parent
407cb49402
commit
90a2b12f5f
@ -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