From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QCDMv-00028F-KB for garchives@archives.gentoo.org; Tue, 19 Apr 2011 16:01:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BBE31C001; Tue, 19 Apr 2011 16:01:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4FA791C001 for ; Tue, 19 Apr 2011 16:01:28 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B73361B404B for ; Tue, 19 Apr 2011 16:01:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D65828013F for ; Tue, 19 Apr 2011 16:01:26 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/init.sh.Linux.in X-VCS-Directories: sh/ X-VCS-Committer: williamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: b6409feaac9922e5761ed7beef93bdf0fdf2faf7 Date: Tue, 19 Apr 2011 16:01:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e9811629edf8555dc1f7e70c5c58f151 commit: b6409feaac9922e5761ed7beef93bdf0fdf2faf7 Author: William Hubbs gentoo org> AuthorDate: Tue Apr 19 15:56:14 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Apr 19 15:56:14 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3Db6409fea fix permissions for /run/lock If /run/lock is a directory, set the ownership and permissions for it, whether or not we created the directory. --- sh/init.sh.Linux.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 301c42f..96474ff 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in @@ -106,6 +106,8 @@ if [ -d /run ]; then fi if [ ! -d /run/lock ]; then mkdir /run/lock + fi + if [ -d /run/lock ]; then chown root:uucp /run/lock chmod 0775 /run/lock fi