svn commit: r273999 - head/etc/rc.d
Hiroki Sato
hrs at FreeBSD.org
Mon Nov 3 00:37:40 UTC 2014
Author: hrs
Date: Mon Nov 3 00:37:39 2014
New Revision: 273999
URL: https://svnweb.freebsd.org/changeset/base/273999
Log:
Do not try to create a /dev/log symlink in a jail.
PR: 179828
Modified:
head/etc/rc.d/syslogd
Modified: head/etc/rc.d/syslogd
==============================================================================
--- head/etc/rc.d/syslogd Mon Nov 3 00:13:20 2014 (r273998)
+++ head/etc/rc.d/syslogd Mon Nov 3 00:37:39 2014 (r273999)
@@ -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
More information about the svn-src-all
mailing list