From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gDa5Ek2OMGVC/QAAG6o9tA:P1 (envelope-from ) for ; Thu, 19 Oct 2023 04:02:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gDa5Ek2OMGVC/QAAG6o9tA (envelope-from ) for ; Thu, 19 Oct 2023 04:02:53 +0200 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 0B8253126C for ; Thu, 19 Oct 2023 04:02:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MmjEiF6R; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697680973; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=saLQze4ZE76heqpDIogpb+vHU5EwgEvY75x3E0OYSYk=; b=oOU1WvlnJTGgLwI54JeBS+8tKVrqmZ/ikzCRX8ssABwrPaDLB60EU7RsRyIfWZ8Tj3ZM1p 77oraJ4lRfphu2tiN6bOJ23CVtvr5E48M8ANTG6zhigkUPrnl1FJm4hgM4tNY/0tVqYjto ULFUwUvA3g4UE2dgsJV0H2ueGJIUt/StfwcuplyNCtaQpBJZ5XOfbE2tO1329SdzF46SsB xkRRxtmm+gnWH09cuhUTVSZ1CfzPWKUtfWY1zG+gGdbGTHADCaSqtymO+7ViTW46w8VhCw ChDzuDVK/ssbSMHopCBY8WhOkOEY7gm/3vfq+ZGCgosfZi3BSWBEP5jY0WiQfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MmjEiF6R; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697680973; a=rsa-sha256; cv=none; b=PpE71fXMuVW/sRmxb3AiRdMyc7mU6RWJnu4p9/wS3qj67PuPeqO8qs5JSNPVp4IBkOn4EW K++sPMFV86wFrktbSHhzzOygiDRhS/Y+mDGR980+Xnio79o7c+XePbfHYDKZrZYQCUQFti YNuvwPQH7Ccf5y0pYGcRTRoDqS+AyaAP7LssFSfvVyZ56fTvrBYvqPJsjz7x7RSCJ1fw/h +RSUcQeUwzYs7eGM2u+W3ObO/CRO404OldTJvlqpDC/DWJr7xLeD8cyPbrJpBB0x5AD0qx peQHFf2XP1uIUY6NbvrhmeKrO2swyImXtdpaVFTS+optBhhceuOktmYTmuDagg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtIMY-00086b-W6; Wed, 18 Oct 2023 22:02:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtIMX-00085x-GK for help-guix@gnu.org; Wed, 18 Oct 2023 22:02:13 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtIMV-0003so-U4 for help-guix@gnu.org; Wed, 18 Oct 2023 22:02:13 -0400 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-7789cb322deso15861885a.3 for ; Wed, 18 Oct 2023 19:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697680930; x=1698285730; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=saLQze4ZE76heqpDIogpb+vHU5EwgEvY75x3E0OYSYk=; b=MmjEiF6R9LoBSj7TUcVxioKnksQQ27yVx92zfrHy+9oOHX0oAIhynrYIlrDt6IDL4Y 3TKok7E/ng5fbndEVyh+Uqt0Y2vwoCB/LiQ5ntGtm5xABjz7cxEX+hV2NRbGSOyKYUqe p9Q4K7pQsHDw3cnexMZLA+x/wtDip82o2vq8eX53K8o9x2aQQ/WQrMiFbkU9xLLc94AV it+/DYTP4p1dalN7KU98SeV0xXqD4aLBhc5+M76t87uayNptKsuR4S2fWIMmJ3V53cWN E1qQcYn+H32M7z9BY65sodipWSRFuuU8ZQK89PE+NqU+G7k6+EySVT7bvh4L17VFsXeW GmdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697680930; x=1698285730; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=saLQze4ZE76heqpDIogpb+vHU5EwgEvY75x3E0OYSYk=; b=FCT2UGA7wRh38KTxeBlr/0sH86rQzZWB3NK34AteEGdMwy4LnJSPjG8Os6lNiuRcMN x7XSbVSJS36l1kkCtEN2GF98yhElpsgnteuOoLmp4Ye/wQMsl1M+SoU8JkUtdKERddQR hQdo6xfC2v/u1rO8IZqATaJ35ckZBGD9ii2tw6RhnMOKJxwbUVnQE5wAQOtJLVIVusbg TeYVWeGjQyFIwGYGklrZjttM4LVe8hK8qTpbeDSCqLtOVaUWdO40ysV15dJARsfZk7Qr 6W+u47x1xYnDbN/mEvo3Mvn2Pi0QUCaHVRYuQf2MlNqSt2yYnCfJQw5mxhIvz4Fhw1Z5 0kvw== X-Gm-Message-State: AOJu0YzofQfVpj5+Ra4/bgt4WPRi7SJE97p8hNWEZXtbo1k8liuTBjmB 8vV3sCyw7M+cDYDKsewP+Ln94MbGwZE= X-Google-Smtp-Source: AGHT+IHwNMwp+4he6EDIJ7wJsK6V1uJ1p0tC8xadI/N3GhLpD2QY53+Z5jCYidFn+X1kw3H/vcQ47Q== X-Received: by 2002:a05:620a:4304:b0:778:9a18:68f6 with SMTP id u4-20020a05620a430400b007789a1868f6mr940140qko.58.1697680930479; Wed, 18 Oct 2023 19:02:10 -0700 (PDT) Received: from hurd (dsl-155-177.b2b2c.ca. [66.158.155.177]) by smtp.gmail.com with ESMTPSA id bk40-20020a05620a1a2800b00765ab6d3e81sm407551qkb.122.2023.10.18.19.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 19:02:10 -0700 (PDT) From: Maxim Cournoyer To: Alexis Simon Cc: help-guix Subject: Re: Stuck installing guix package manager on Fedora with selinux In-Reply-To: <70b51103-89af-4489-a1d2-e44ecba15062@runbox.com> (Alexis Simon's message of "Wed, 18 Oct 2023 11:16:31 -0700") References: <2f749c20-ede2-4f1c-b95a-e9bfc1869fad@runbox.com> <0e7b887d-2a0f-4675-8e0a-569b82d155ad@runbox.com> <70b51103-89af-4489-a1d2-e44ecba15062@runbox.com> Date: Wed, 18 Oct 2023 22:02:09 -0400 Message-ID: <87y1fzpdy6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::733; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x733.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.43 X-Spam-Score: -9.43 X-Migadu-Queue-Id: 0B8253126C X-Migadu-Scanner: mx2.migadu.com X-TUID: Gu9suAS8rf3v Hello, Alexis Simon writes: > Ok I think I'm starting to get somewhere > > those are the changes that were needed in the selinux policy to be > able to start installing a package > > ============================================== > diff --git a/guix-daemon.cil b/guix-daemon.cil > index 3994e62..c26ed1a 100644 > --- a/guix-daemon.cil > +++ b/guix-daemon.cil > @@ -202,7 +202,7 @@ > sys_admin))) > (allow guix_daemon_t > fs_t > - (filesystem (unmount))) > + (filesystem (unmount remount))) > (allow guix_daemon_t > devpts_t > (dir (search))) > @@ -308,6 +308,8 @@ > (lnk_file (read))) > (allow guix_daemon_t NetworkManager_var_run_t > (dir (search))) > + (allow guix_daemon_t init_var_run_t > + (dir (search))) > > ;; Access to profiles > (allow guix_daemon_t > ============================================= > > I'll try it out more and update as I go along. Sounds good, keep us posted! When you have reached a point you are satisfied with, please email your patch to guix-patches@gnu.org. -- Thanks, Maxim