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 1PoP8L-0001DJ-QK for garchives@archives.gentoo.org; Sat, 12 Feb 2011 23:44:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46F8CE09CF; Sat, 12 Feb 2011 23:44:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 19CDAE09CF for ; Sat, 12 Feb 2011 23:44:01 +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 86FBD1B41F6 for ; Sat, 12 Feb 2011 23:44:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id ED7E88006E for ; Sat, 12 Feb 2011 23:44:00 +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: <1e1eefef7276c65afb8ac2d349bdba1b950ddcb9.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-docs:master commit in: xml/selinux/ X-VCS-Repository: proj/hardened-docs X-VCS-Files: xml/selinux/hb-using-install.xml X-VCS-Directories: xml/selinux/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 1e1eefef7276c65afb8ac2d349bdba1b950ddcb9 Date: Sat, 12 Feb 2011 23:44:00 +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: f5c146bda1491ff9ef4cff5eeb43bada commit: 1e1eefef7276c65afb8ac2d349bdba1b950ddcb9 Author: Sven Vermeulen siphos be> AuthorDate: Sat Feb 12 23:43:54 2011 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sat Feb 12 23:43:54 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-docs= .git;a=3Dcommit;h=3D1e1eefef tmp should be tmp_t, not tmpfs_t --- xml/selinux/hb-using-install.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/xml/selinux/hb-using-install.xml b/xml/selinux/hb-using-inst= all.xml index de9ca9d..bb3a984 100644 --- a/xml/selinux/hb-using-install.xml +++ b/xml/selinux/hb-using-install.xml @@ -89,6 +89,36 @@ Make sure to include layman's make.conf i= n your +Optional: Setting the /tmp context + + +

+If your /tmp location is a tmpfs-mounted file system, then = you need +to tell the kernel that the root context of this location is tmp_t +instead of tmpfs_t. Many SELinux policy objects (including variou= s +server-level policies) assume that /tmp is tmp_t. +

+ +

+To configure the /tmp mount, edit your /etc/fstab: +

+ +
+tmpfs  /tmp  tmpfs  defaults,noexec,nosuid,rootcontext=3Dsystem_u:obj=
ect_r:tmp_t  0 0
+
+ +

+Unmount and remount the /tmp file system. +

+ +
+~# umount /tmp
+~# mount /tmp
+
+ + +
+ Enabling ~Arch Packages =20