svn commit: r278771 - stable/10/etc/rc.d
Hiroki Sato
hrs at FreeBSD.org
Sat Feb 14 18:56:45 UTC 2015
Author: hrs
Date: Sat Feb 14 18:56:44 2015
New Revision: 278771
URL: https://svnweb.freebsd.org/changeset/base/278771
Log:
MFC r273999:
Do not try to create a /dev/log symlink in a jail.
PR: 179828
Modified:
stable/10/etc/rc.d/syslogd
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/etc/rc.d/syslogd
==============================================================================
--- stable/10/etc/rc.d/syslogd Sat Feb 14 18:54:52 2015 (r278770)
+++ stable/10/etc/rc.d/syslogd Sat Feb 14 18:56:44 2015 (r278771)
@@ -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-stable-10
mailing list