From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KNaPOscMH2cKCwAAqHPOHw:P1 (envelope-from ) for ; Mon, 28 Oct 2024 04:02:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KNaPOscMH2cKCwAAqHPOHw (envelope-from ) for ; Mon, 28 Oct 2024 05:02:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M38EkD44; dkim=fail ("headers rsa verify failed") header.d=dash.org header.s=dash header.b=CURX1moN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730088135; a=rsa-sha256; cv=none; b=OWNnM+WMVIjQN9DptJG+sZomZl9nS/6jXwcHt+MxRHdVWU067xSgmkD5DzLnzrLDR0pnbg E5U+asfBtKFNYURlSA5z/IUaDKbN4tdNy+O3u5rdJqrfZ2ddlfqsnMWHVAOI+LSxp7T399 +z9IPa/rZnilVd4eKxFdvYxm6UGi8KETNN05Lcyk64ktIsFXJkKTKdVGPJP9GRQdf5vako pa1D+9mrvfFekkc1VLFA5VaXcnw+N36HydQh1MxmmUu18SJJuXj5Dupgy3ODKCJpjn/y/8 VEX349eQVTQGtw+EPH9X7h6t3S03yVyXjcd0M0JZe1d9/tJsfP1E/4g9RYbCgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M38EkD44; dkim=fail ("headers rsa verify failed") header.d=dash.org header.s=dash header.b=CURX1moN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730088135; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iSpKxevTvozkiAXH+soi8zAkk9k4bIRm7bzg+DE4ET8=; b=gIyX7yfQW49duO1nqyBbUI2XpCsummpvlq7p5+LsLs+surOu9XrNCBoazuVn3hPbJUZA8J okh3ayYTUMxMuR/sZEtIugmmEgtbole3bkEa2kQMbhsH4ygGdP/lA8Fkd0z03WPuZxxToa sNfIenMyxwxFU2QSapSpgkEhYHjzz+5rjlDCvr+BxoodoBOCVRUsdwKutTYuPwAwSvmjl4 OYbWpvICfJfqP5+1xr1H3iLHKyimt+YyOWKQaOQBPHezy13RfK2hX2Op1Kh5rJsmtJIcYz ykgcM89mwBIP7vimjNjtjB1V9jQSGIn+WTYsx/0wOFdYaq9YyuwnpdXP+HWpvA== 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 1A5085986 for ; Mon, 28 Oct 2024 05:02:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5Gwn-0003ma-E3; Mon, 28 Oct 2024 00:01:41 -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 1t5Gwc-0003lo-Ii for bug-guix@gnu.org; Mon, 28 Oct 2024 00:01:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5GwZ-0001PQ-Nc for bug-guix@gnu.org; Mon, 28 Oct 2024 00:01:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=iSpKxevTvozkiAXH+soi8zAkk9k4bIRm7bzg+DE4ET8=; b=M38EkD44+Xiq3ZjVhmwUl0/TsxCvoGK1ndrzLxqtjOUXXS3/bylZGXbL0RItbHOYysbfEIO9eH89CMIjd2xAZQrXJ+4MiPp9bX+hpyhpH1OshPXlUQdf5umOgcoA6LAwCh4+BzdFKMSBU764ImcPFlnEJeTo6WUeLSyruL6Bk4TCn6BHfKRMpu4vH3/PQYIEClGKG8rKi7o5OvY1TpLtgYMs65Vni5MQR5obzZfyXIsPax8pK04eq3+5mC1JAgWoAT/7QOII3wrMzEOxAW3vZMtv3OG+eFyMVN1Mv2SqYFqyoM4GiJU5cmB5Yeh7PQ6Y0bUJTb+gxkdVxuShewzavg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5Gx9-0003pP-2O for bug-guix@gnu.org; Mon, 28 Oct 2024 00:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73547: Unable to run `guix pull` on Fedora (Asahi) due to SELinux violations Resent-From: Pasta Pasta Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Oct 2024 04:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73547 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73547@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173008811914689 (code B ref -1); Mon, 28 Oct 2024 04:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2024 04:01:59 +0000 Received: from localhost ([127.0.0.1]:50038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5Gx4-0003on-Ec for submit@debbugs.gnu.org; Mon, 28 Oct 2024 00:01:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:39700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5Gx2-0003oT-E6 for submit@debbugs.gnu.org; Mon, 28 Oct 2024 00:01:57 -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 1t5GwM-0003kp-AA for bug-guix@gnu.org; Mon, 28 Oct 2024 00:01:18 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5GwF-0001NZ-Ul for bug-guix@gnu.org; Mon, 28 Oct 2024 00:01:13 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-37f52925fc8so2786084f8f.1 for ; Sun, 27 Oct 2024 21:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dash.org; s=dash; t=1730088063; x=1730692863; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iSpKxevTvozkiAXH+soi8zAkk9k4bIRm7bzg+DE4ET8=; b=CURX1moNVO/EyQzYBmFV4L7Uq6kIQJkqDG/4v4N3sHfU7E2wzeGN7VAB3Ajbr2Jufl 1NRhQSxUzOB2FkSbFU+4DqYwI5pVtuYjnQnNPbjUeryxJfKerPeHw6l9IObvxTINEbQg 0iJcITBzvzKWFds+AqH/yQuQGbF/a6EUbriDMnHZ8921poE3tPqbLtD+Hz/Nso7faEJq nsxOPMnpVYWXn7OvSa7u/QHwOaj5MmJ97yx1z8HHjbrH5OjN9Tk+7ZATKcbrrhbK9NGY PZZ414oY8928XrcQo6wMf3BRfGIA+I6Hp11et2OgpqWV7pZbZCGlumwYBXX+N3uzJ7XN 2/Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730088063; x=1730692863; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iSpKxevTvozkiAXH+soi8zAkk9k4bIRm7bzg+DE4ET8=; b=WcnYHsk7bQyXkTnAAEDno/ulnAJ3EzMVQDrH01fDsS2JhvlPTSdsyG3k8F+1Q1xZPX MYCK3xkgO1pHEpag3KE3czgsYSifr7esWOBfOb2B3hsw8Y1HSVjiMXl9E3op/jS1EKzN hoCVf8a5TWvWM+RAEXVX+nBCFuR0BvlJ4Qyuy7mTokx1nCcIcvXmaQsXuKl0QTVaq7U3 8MLOoEEJMEK82i6XvFn0W4KnI4nfW+2l8TiZHaHdAWDHtUM+0OxQmt3B4Dql14+WZfun k/iGE6LquWJcRCUm5NVmeHdbnw4euS9IZ+LghSxUXln6QetjpiWvbzMOrX+kwmnj3WaL L1bg== X-Gm-Message-State: AOJu0YwpBW/0jLq5N8fDHUnplBa/dH+eG6HGruBzKnS7kla1yKS01fXm pRJbVgSZ8uXgCfEZD5sP62UkHZC+274MR/2j+1eRXVyFYFSXFh/LtXxkbfDTCfdwwJZjSYJD6Aa 5KuxV/fW44mwT1OKhwBjhWULQQYCsT/H+AuwjqL6e+LlSJb7JUBU= X-Google-Smtp-Source: AGHT+IEVL78dVf5H71BR4cfdjjhKMgremb+HEV4u34FsXuRafPZUbKg1PXZTEx5HhlORSKZEfPvSfys2KFfzt414ufY= X-Received: by 2002:adf:edc9:0:b0:378:89d8:8242 with SMTP id ffacd0b85a97d-38061163b1dmr4657877f8f.26.1730088062908; Sun, 27 Oct 2024 21:01:02 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 27 Oct 2024 23:00:51 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=pasta@dash.org; helo=mail-wr1-x435.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, 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Pasta Pasta From: Pasta Pasta via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.53 X-Spam-Score: 0.53 X-Migadu-Queue-Id: 1A5085986 X-Migadu-Scanner: mx12.migadu.com X-TUID: n0NELkfeZk/r Hi! Is anyone to evaluate this? Thanks! On Sat, Sep 28, 2024 at 11:01=E2=80=AFPM Pasta Pasta wrote= : > > Hi all, > > I installed guix via > https://guix.gnu.org/manual/en/html_node/Binary-Installation.html > specifically > ``` > cd /tmp > wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh > chmod +x guix-install.sh > sudo ./guix-install.sh > ``` > > I then tried to follow the docs here: > https://guix.gnu.org/manual/en/html_node/SELinux-Support.html related > to SELinux > > I ended up running > ``` > sudo semodule -i > /gnu/store/271mkw93sqb3hc4ngszcjfsc2wsb6yc8-guix-1.4.0/share/selinux/guix= -daemon.cil > ``` > > As this was the only file I found that looked right according to the > docs such as `semodule -i etc/guix-daemon.cil` > > I've restarted my system a few times, however, I am still getting > SELinux violations resulting in > ``` > $ guix pull > guix pull: error: remounting /gnu/store writable: Permission denied > ``` > > see the detailed SELinux violation report > > ``` > SELinux is preventing guix-daemon from remount access on the filesystem . > > ***** Plugin catchall (100. confidence) suggests *********************= ***** > > If you believe that guix-daemon should be allowed remount access on > the filesystem by default. > Then you should report this as a bug. > You can generate a local policy module to allow this access. > Do > allow this access for now by executing: > # ausearch -c 'guix-daemon' --raw | audit2allow -M my-guixdaemon > # semodule -X 300 -i my-guixdaemon.pp > > Additional Information: > Source Context system_u:system_r:guix_daemon.guix_daemon_t= :s0 > Target Context system_u:object_r:fs_t:s0 > Target Objects [ filesystem ] > Source guix-daemon > Source Path guix-daemon > Port > Host pasta-macbookpro-asahi > Source RPM Packages > Target RPM Packages > SELinux Policy RPM selinux-policy-targeted-40.27-1.fc40.noarch > Local Policy RPM > Selinux Enabled True > Policy Type targeted > Enforcing Mode Enforcing > Host Name pasta-macbookpro-asahi > Platform Linux pasta-macbookpro-asahi > 6.11.0-400.asahi.fc40.aarch64+16k #1 SMP > PREEMPT_DYNAMIC Fri Sep 27 02:59:31 UTC 202= 4 > aarch64 > Alert Count 12 > First Seen 2024-09-28 22:37:00 CDT > Last Seen 2024-09-28 22:51:58 CDT > Local ID 00bfc2a9-edf9-49d4-9f98-aaff428092a2 > > Raw Audit Messages > type=3DAVC msg=3Daudit(1727581918.607:304): avc: denied { remount } for > pid=3D3363 comm=3D"guix-daemon" > scontext=3Dsystem_u:system_r:guix_daemon.guix_daemon_t:s0 > tcontext=3Dsystem_u:object_r:fs_t:s0 tclass=3Dfilesystem permissive=3D0 > > > Hash: guix-daemon,guix_daemon.guix_daemon_t,fs_t,filesystem,remount > ``` > > I tried running the recommended steps by SELinux, but that did not work. > > Please advise!