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 1Qfb1v-0001ff-QO for garchives@archives.gentoo.org; Sat, 09 Jul 2011 17:09:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94F1821C200; Sat, 9 Jul 2011 17:09:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 559A221C1EF for ; Sat, 9 Jul 2011 17:09:06 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8179E2AC120 for ; Sat, 9 Jul 2011 17:09:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 9F2268003D for ; Sat, 9 Jul 2011 17:09:04 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: Subject: [gentoo-commits] proj/hardened-docs:master commit in: xml/selinux/modules/ X-VCS-Repository: proj/hardened-docs X-VCS-Files: xml/selinux/modules/portage.xml X-VCS-Directories: xml/selinux/modules/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: bf0f25aee5101e5b5b58ec37caf90f180fe5319b Date: Sat, 9 Jul 2011 17:09:04 +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: 9b9faec8fe07683eaf1d6bb491c56ce6 commit: bf0f25aee5101e5b5b58ec37caf90f180fe5319b Author: Sven Vermeulen siphos be> AuthorDate: Thu Jul 7 19:04:23 2011 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Thu Jul 7 19:04:23 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-docs= .git;a=3Dcommit;h=3Dbf0f25ae Update portage module information with latest commit --- xml/selinux/modules/portage.xml | 38 ++++++++++++++++++++++++++++++---= ----- 1 files changed, 30 insertions(+), 8 deletions(-) diff --git a/xml/selinux/modules/portage.xml b/xml/selinux/modules/portag= e.xml index e9dc226..6353a60 100644 --- a/xml/selinux/modules/portage.xml +++ b/xml/selinux/modules/portage.xml @@ -18,8 +18,8 @@ manager, Gentoo-specific file system locations and the = command-line wrappers. =20 -1 -2011-06-02 +2 +2011-07-07 =20 Structure @@ -268,6 +268,13 @@ distfiles or the repositories for the live ebuilds) = so take care when relabelling locations!

=20 +

+If you are using different mounts, you might need to use the=20 +rootcontext=3D mount option to set the initial context. If the fi= le system +does not suppor SELinux contexts (like NFS), you can use the context=3D= +mount option to force the context of all files on the mounted location. +

+
@@ -275,12 +282,27 @@ relabelling locations! =20

-The Portage module within Gentoo defines one boolean, called -gentoo_try_dontaudit. When enabled, the policy will hide the AVC = denials -of which the Gentoo developers believe they are harmless (cosmetic). If = this -boolean is enabled and you are experiencing permission problems, it is w= ise to -first disable the boolean and see if you now get any denials that could = explain -the problem. +The Portage module within Gentoo defines two booleans, called +gentoo_try_dontaudit and gentoo_portage_allow_nfs.=20 +

+ +

+When gentoo_try_dontaudit is enabled, the policy will hide the AV= C +denials of which the Gentoo developers believe they are harmless (cosmet= ic). +If this boolean is enabled and you are experiencing permission problems,= it +is wise to first disable the boolean and see if you now get any denials = that +could explain the problem. +

+ +

+When gentoo_portage_allow_nfs is enabled, then the Portage-relate= d +domains will be able to manage the nfs_t and as such, allow for t= he=20 +Portage tree and other locations to be NFS-mounted without correcting th= eir +label (which is still supported when using the context=3D mount o= ption). +

+ +

+To switch booleans, use setsebool or togglesebool.

=20