From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ePOhC8oKsF9bGwAA0tVLHw (envelope-from ) for ; Sat, 14 Nov 2020 16:50:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mCdrB8oKsF8aWwAAB5/wlQ (envelope-from ) for ; Sat, 14 Nov 2020 16:50:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A11349403A0 for ; Sat, 14 Nov 2020 16:50:17 +0000 (UTC) Received: from localhost ([::1]:53556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdyki-0007nf-LH for larch@yhetil.org; Sat, 14 Nov 2020 11:50:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdykU-0007nJ-9b for guix-patches@gnu.org; Sat, 14 Nov 2020 11:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdykU-00085i-0g for guix-patches@gnu.org; Sat, 14 Nov 2020 11:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdykT-0001f4-V3 for guix-patches@gnu.org; Sat, 14 Nov 2020 11:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44549] [PATCH v4] doc: add a note about relabling after upgrades to the guix deamon References: <87sg9h8s5j.fsf@db48x.net> In-Reply-To: <87sg9h8s5j.fsf@db48x.net> Resent-From: Daniel Brooks Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Nov 2020 16:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44549@debbugs.gnu.org Received: via spool by 44549-submit@debbugs.gnu.org id=B44549.16053725756351 (code B ref 44549); Sat, 14 Nov 2020 16:50:01 +0000 Received: (at 44549) by debbugs.gnu.org; 14 Nov 2020 16:49:35 +0000 Received: from localhost ([127.0.0.1]:51822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyk3-0001eM-GC for submit@debbugs.gnu.org; Sat, 14 Nov 2020 11:49:35 -0500 Received: from smtp-out-4.mxes.net ([198.205.123.69]:52484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyk1-0001e8-LH for 44549@debbugs.gnu.org; Sat, 14 Nov 2020 11:49:34 -0500 Received: from Customer-MUA (mua.mxes.net [10.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DB15E759D1 for <44549@debbugs.gnu.org>; Sat, 14 Nov 2020 11:49:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mxes.net; s=mta; t=1605372568; bh=zKYQ+KM6p8nmIWGhTtnR3IgwPP3mWMik/CmKLebAB8c=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=KGE0Ns8ET6BEPL+bM2bzXkJxE/9c5P34AriuVCU9Ebhba0UQFWKbQu1OYPEw9saOP yPUm6BmB79ZJziDZRle03L/QgX4FetM9uNbj+FLntJRyieZJqPa1sLJvI5f82soAZW FiuxNMuI3uwvlkGrBzedYSLAEGOaOewo8RvFfyPQ= From: Daniel Brooks Date: Sat, 14 Nov 2020 08:49:26 -0800 Message-ID: <87a6vj6fzd.fsf@db48x.net> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-doc-add-a-note-about-relabling-after-upgrades-to-the.patch Content-Description: [PATCH v4] doc: add a note about relabling after upgrades to the X-Sent-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=mxes.net header.s=mta header.b=KGE0Ns8E; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: kUW4NWff51cL >From b29749885c93811f901d0ec4e13de38f70f8c100 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Sat, 14 Nov 2020 08:04:30 -0800 Subject: [PATCH v4] doc: add a note about relabling after upgrades to the SELinux Support section of the manual * doc/guix.texi (SELinux Support): add note about upgrades --- doc/guix.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 8440ffffc7..67f5155b9f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1398,6 +1398,11 @@ install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain. +You will need to relabel the @file{/gnu} directory after all upgrades to +@file{guix-daemon}, such as with @code{guix pull}. You can do this with +@code{restorecon -vR /gnu}, or by other means provided by your operating +system. + We could generate a much more restrictive policy at installation time, so that only the @emph{exact} file name of the currently installed @code{guix-daemon} executable would be labelled with -- 2.26.2