From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QEDjN3n7+GaaMwEAe85BDQ:P1 (envelope-from ) for ; Sun, 29 Sep 2024 07:02:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QEDjN3n7+GaaMwEAe85BDQ (envelope-from ) for ; Sun, 29 Sep 2024 09:02:18 +0200 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=RVU8uzp7; dkim=fail ("headers rsa verify failed") header.d=dash.org header.s=dash header.b=E+a85lYR; 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=1727593337; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Mw30/utXaHNFJrB4yFgUOd0yHN3mRmkVdOp2T+lASvQ=; b=JJfbq29OJHrqHX4bbH1sR0uTKXW1PKr07HFCf8Z5gIQXGska1GcSHOB/8fbNQACkyIo44W wCsTWaggVGKsHJpsNWS0Y+4JOgkV8Q2oPqgMU3YnST52sDbSwM39cvwoYmvVoUUOQSJ6zs BOGSRMhLSpQDiDa3KGAfzK3BbSJdgaRybW24s7yBxs6kPoT7AD4ZC57z94N5LWrnADBZ+C ZdblRECJIbkokrXoX23O6LUhJDqrDtBtVbKrJ//H+x+ki6axOq/NWMpDtLUHkt5W2REwXC cWHzFI+sJBSdBuyY7DFVyiyFHj+W6lON2/N8Fpl9w4BFRB3XLZFQdZBVGu19vw== 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=RVU8uzp7; dkim=fail ("headers rsa verify failed") header.d=dash.org header.s=dash header.b=E+a85lYR; 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=1727593337; a=rsa-sha256; cv=none; b=XS78zLB0OMJXIi7AOGmp9Zrtg3x0zgP7/nrS9442orp5xUBS1PnG3xGIB8kw/ewRiFTGQC MAXDk7WjS+0cbdgO6kcti3ip1dsONRI1KCj7mhP1eLLopMaMl/JjukKLWSei8/6VidPbGf nniHw/S+VjzrjUneOadDcZ9qQ/zB06LpRuMHzfjCY50A2PM3hRzooNnZ4QA8R7C18qrGuD PUuC8k/j7Po9xUUFbF1/x7xtWPcqgdcbN8wDJ68kCthEbu4695RxydEcJKC5v3RVtW6Hhw uJsJEn6UCTv9MWjB7afOmTnKD/tbkDnZ0iZQUhaKTrSjrqObX/F7YQJRsAShyg== 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 9B23C1968D for ; Sun, 29 Sep 2024 09:02:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sunw4-0000Bt-8L; Sun, 29 Sep 2024 03:01:40 -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 1sunvv-00008y-TB for bug-guix@gnu.org; Sun, 29 Sep 2024 03:01:32 -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 1sunvv-0005Aj-KQ for bug-guix@gnu.org; Sun, 29 Sep 2024 03:01:31 -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:MIME-Version:To:Subject; bh=Mw30/utXaHNFJrB4yFgUOd0yHN3mRmkVdOp2T+lASvQ=; b=RVU8uzp76U8OQVFFBkKtlXPKlPf5/i/43v2afDONTjbQyPTPwVSyR3XPT9rIeMm9C/W7dyBSzCqLhv+xMMnXLwyIIFIv5cZd9K9B885IgwJDBKa/HORcq0fppQboDpIO08Vu4r5sUzx0/JbLZc2dlF8CvuYq5U9F5G+nkvXAZ0H/KsTk4VXMYiKx1W8v/qxVniBUciprib4BmxFFxzvZ2AhdyfFTrFggpOMonnDgJ6N9q0A+JW4O4uWM1JbBLHzyo+0PmZlCPkbyNEMvN1dtEjzKjwu6/1Hb99H4cGNkWx2DdLkmPrvN2aSv/iRouwulhkkPaHpSYn34EcBWh3qUtA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sunwP-0001VN-Vk for bug-guix@gnu.org; Sun, 29 Sep 2024 03:02:02 -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: Sun, 29 Sep 2024 07:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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.17275932685598 (code B ref -1); Sun, 29 Sep 2024 07:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Sep 2024 07:01:08 +0000 Received: from localhost ([127.0.0.1]:36946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sunvX-0001SA-3D for submit@debbugs.gnu.org; Sun, 29 Sep 2024 03:01:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:53174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sul85-00005w-Va for submit@debbugs.gnu.org; Sun, 29 Sep 2024 00:01:55 -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 1sul7Z-0005Ml-VX for bug-guix@gnu.org; Sun, 29 Sep 2024 00:01:22 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sul7Y-0007xP-2Y for bug-guix@gnu.org; Sun, 29 Sep 2024 00:01:21 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5c8844f0ccaso2432552a12.0 for ; Sat, 28 Sep 2024 21:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dash.org; s=dash; t=1727582477; x=1728187277; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Mw30/utXaHNFJrB4yFgUOd0yHN3mRmkVdOp2T+lASvQ=; b=E+a85lYRCuCG7maJdDkOMbVE6NLmft6AGf3c/nPeweLPyrvdX9JtCKkmuQTa0H8qbL tdJfArG4Y726YMTygDQqYKrSHfM+pSEMq30vJ3O8mg8gJIemRtFG89RUaNePbR2A+/2D s/RxV9ZWOIxMmLxYD86236Ajuo8ozptjn5uW8ScXOwAJ7ZCRdCH27YdCIG56vvwq/p+D 0ia80IJUEg9IJoJs7fqo2sLXOsA/ZtgHB3N8Im/P/aAVS9RIZo736WJDAsPWWtAJyFG7 XaZptBeVdBMQBWubXzz6IeTUw2zZtz7I9dFa+CY9ZjStw8LR8N+//vntCVBhYHaFw5g2 DEDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727582477; x=1728187277; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Mw30/utXaHNFJrB4yFgUOd0yHN3mRmkVdOp2T+lASvQ=; b=dG0TqYSLsRzY7fFBEwqa8i1ppc2gZncTna2bL8MYncp6IknbtPquPPBw+XgQYWOhnt CdMO/v0gngW4BeqGRh4ufiodV04Hq5YdXtlvDWj+XrQaujgCwI8G/z/yLVQclxw2aUer 990PVcIlzZOO6kB+DyYTVVizJUnqmTiVvtThEBiqK4cmUbfw/XIWKdkGxv3VKb5t3OXm kURw1epXwuBj4FCYRXshHQALHM3eZscgDP52jK4WjibEw7wYGEyR26Cyn/awjAinzYhm y8TeL/sJKSvrioNPHVeqtqmzJvy/1PdcGrf/X4oLqLAGLDUJ4aXxWci9NuiKCSGs9BXO z8NA== X-Gm-Message-State: AOJu0YwBs+nORXCCZF3hOwT9PAFkuqQVMqz/I+asgh/HvVr13tjdv1aO cJCCDDZ6vhigw5GFy+18zzy/+YLGOhSV7Xdw4NxhtqzfG9GwEbo0fovIWbjbPSRjWymD+LSIbxk FqwQOUpMNysaRC+3YTgYxFvgGGU5gaQnxWwWELtMIQPO5hTeCE78= X-Google-Smtp-Source: AGHT+IF5EGB1D9DRUpG6fMhfSuhSl/d5Px75eUNag9mXzhmImjZr3ZWCdhXYUad17tyGNuGHU6NNgcI7eeLOa34jat0= X-Received: by 2002:a17:907:3e9e:b0:a8a:78bb:1e2 with SMTP id a640c23a62f3a-a93c48e7d14mr829914966b.6.1727582477156; Sat, 28 Sep 2024 21:01:17 -0700 (PDT) MIME-Version: 1.0 Date: Sat, 28 Sep 2024 23:01:06 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=pasta@dash.org; helo=mail-ed1-x533.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 29 Sep 2024 03:01:06 -0400 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-Queue-Id: 9B23C1968D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.31 X-Spam-Score: -4.31 X-TUID: 4IlcuCVWlpyD 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 2024 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=AVC msg=audit(1727581918.607:304): avc: denied { remount } for pid=3363 comm="guix-daemon" scontext=system_u:system_r:guix_daemon.guix_daemon_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0 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!