From c3413b1b08c2334ade0ba7585a8329d0dec9e7df Mon Sep 17 00:00:00 2001 From: hrs Date: Sat, 14 Feb 2015 18:56:44 +0000 Subject: [PATCH] MFC r273999: Do not try to create a /dev/log symlink in a jail. PR: 179828 --- etc/rc.d/syslogd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/syslogd b/etc/rc.d/syslogd index 2842b48fac9e..747b6f01c6e5 100755 --- a/etc/rc.d/syslogd +++ b/etc/rc.d/syslogd @@ -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