Date: Sat, 14 Feb 2015 18:56:44 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r278771 - stable/10/etc/rc.d Message-ID: <201502141856.t1EIuiH8014781@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502141856.t1EIuiH8014781>