From owner-svn-src-all@FreeBSD.ORG Mon Nov 3 00:37:40 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1376A27B; Mon, 3 Nov 2014 00:37:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0016BAD7; Mon, 3 Nov 2014 00:37:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA30bdOO036261; Mon, 3 Nov 2014 00:37:39 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA30bdK0036259; Mon, 3 Nov 2014 00:37:39 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201411030037.sA30bdK0036259@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Mon, 3 Nov 2014 00:37:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273999 - head/etc/rc.d X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 00:37:40 -0000 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