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 1QB1ST-0000x3-NC for garchives@archives.gentoo.org; Sat, 16 Apr 2011 09:06:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A431C1C00E; Sat, 16 Apr 2011 09:06:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5FC251C00E for ; Sat, 16 Apr 2011 09:06:17 +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 866411B405E for ; Sat, 16 Apr 2011 09:06:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A2EBE80065 for ; Sat, 16 Apr 2011 09:06:15 +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: <40a8b2d712ca8cad6732fe37c5d6ac7d9a53eba5.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: 40a8b2d712ca8cad6732fe37c5d6ac7d9a53eba5 Date: Sat, 16 Apr 2011 09:06:15 +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: 29e11a62bbd9a3397094cf2989095e3c commit: 40a8b2d712ca8cad6732fe37c5d6ac7d9a53eba5 Author: Sven Vermeulen siphos be> AuthorDate: Sat Apr 16 09:05:50 2011 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sat Apr 16 09:05:50 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-docs= .git;a=3Dcommit;h=3D40a8b2d7 Inform labelling swapfiles --- xml/selinux/hb-using-install.xml | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/xml/selinux/hb-using-install.xml b/xml/selinux/hb-using-inst= all.xml index f46ee2a..30dc495 100644 --- a/xml/selinux/hb-using-install.xml +++ b/xml/selinux/hb-using-install.xml @@ -7,8 +7,8 @@ =20 -4 -2011-04-15 +5 +2011-04-16 =20
Installing Gentoo Hardened @@ -562,6 +562,15 @@ First relabel your devices. This will apply the corr= ect security contexts =20

+Next, if you have a swapfile rather than a swap partition, label it acco= rdingly: +

+ +
+~# semanage fcontext -a -t swapfile_t "/swapfile"
+~# restorecon /swapfile
+
+ +

Now relabel your entire file system. The next command will apply the cor= rect security context onto the files on your file system, based on the securi= ty context information provided by the SELinux policy modules installed.