diff options
author | hrs <hrs@FreeBSD.org> | 2014-11-03 00:37:39 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2014-11-03 00:37:39 +0000 |
commit | 90a2b12f5fdbc4cbbfed777ea6f9d6632274b5c0 (patch) | |
tree | 5e56f327d4be7ff7f500d4145ce4007fe974cd79 /etc/rc.d/syslogd | |
parent | 407cb49402827bb903abd3d2bfc574a839e61dd5 (diff) | |
download | FreeBSD-src-90a2b12f5fdbc4cbbfed777ea6f9d6632274b5c0.zip FreeBSD-src-90a2b12f5fdbc4cbbfed777ea6f9d6632274b5c0.tar.gz |
Do not try to create a /dev/log symlink in a jail.
PR: 179828
Diffstat (limited to 'etc/rc.d/syslogd')
-rwxr-xr-x | etc/rc.d/syslogd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/syslogd b/etc/rc.d/syslogd index 2842b48..747b6f0 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 |