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.77) (envelope-from ) id 1SlRP5-000868-I4 for garchives@archives.gentoo.org; Sun, 01 Jul 2012 21:09:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 585D7E0752; Sun, 1 Jul 2012 21:09:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2E815E0746 for ; Sun, 1 Jul 2012 21:09:47 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97CD41B400C for ; Sun, 1 Jul 2012 21:09:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 626EDE5436 for ; Sun, 1 Jul 2012 21:09:45 +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: <1341176775.1ad426d24f94706e8578a5a0f0d0457405abc06c.WilliamH@gentoo> Subject: [gentoo-commits] proj/udev-gentoo-scripts:master commit in: init.d/ X-VCS-Repository: proj/udev-gentoo-scripts X-VCS-Files: init.d/udev-mount X-VCS-Directories: init.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1ad426d24f94706e8578a5a0f0d0457405abc06c X-VCS-Branch: master Date: Sun, 1 Jul 2012 21:09:45 +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: 6d4f06ba-d49c-4b27-ac96-0238e29aa302 X-Archives-Hash: 8024b34a3faf1d40690316456352ddca commit: 1ad426d24f94706e8578a5a0f0d0457405abc06c Author: William Hubbs gentoo org> AuthorDate: Sun Jul 1 21:06:15 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Jul 1 21:06:15 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/udev-gentoo-s= cripts.git;a=3Dcommit;h=3D1ad426d2 udev-mount: remove selinux code I was advised that this code is no longer needed since this issue is being controlled by the selinux policy. Thanks to Sven Vermeulen. --- init.d/udev-mount | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/init.d/udev-mount b/init.d/udev-mount index ab58c3d..fa3afb3 100644 --- a/init.d/udev-mount +++ b/init.d/udev-mount @@ -62,14 +62,12 @@ seed_dev() # udevd will dup its stdin/stdout/stderr to /dev/null # and we do not want a file which gets buffered in ram [ -c /dev/null ] || mknod -m 666 /dev/null c 1 3 - ${HAVE_SELINUX} && restorecon /dev/null =20 # so udev can add its start-message to dmesg [ -c /dev/kmsg ] || mknod -m 660 /dev/kmsg c 1 11 =20 # Create problematic directories mkdir -p /dev/pts /dev/shm - ${HAVE_SELINUX} && restorecon -R /dev >/dev/null return 0 } =20 @@ -77,14 +75,6 @@ start() { mount_dev_directory || return 1 =20 - # Selinux lovin; /selinux should be mounted by selinux-patched init - if [ -x /sbin/restorecon -a -c /selinux/null ]; then - HAVE_SELINUX=3Dtrue - restorecon /dev > /selinux/null - else - HAVE_SELINUX=3Dfalse - fi - seed_dev return 0 }