From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iESrMh9gL2W1BwEAG6o9tA:P1 (envelope-from ) for ; Wed, 18 Oct 2023 06:33:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iESrMh9gL2W1BwEAG6o9tA (envelope-from ) for ; Wed, 18 Oct 2023 06:33:35 +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 7F38A536AB for ; Wed, 18 Oct 2023 06:33:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=aN9JEJ9r; 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=quarantine) header.from=runbox.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697603615; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tZ1St4ZhYEcKJiihvHCZ6UzYxSe5hxnyWVG2sTAXeRY=; b=Q++wN8ikgzwLHu5BZ6WoR4THDTOR4r1ZbZTw5R1RpgKMprUVecUmYx8JlCYSCu94Ll8LH/ OUEm21hXzZVKalMA3fP5xRFtY6IvjuZX9B75KxtoI2gp+B4bhLM7avAW9esT/8HVnjDnHG tER4wWTdmmZ2eSzFyVGPzf7aMjKi/Pnd1cAqGNVrGyUwkNNAzqQj47HTFlj9OxuNQoCy0w 2GmVrTLqk7bpAGJeasR24cMqyTQjtuVNDL9MxAP9M1edAc7bqD8FzjIeJebm2rCF9S7NBw V9LH7nVnfQhlGFbEtt5iz1GLTnxyIBfwJvkEY9S7/hxUlRC8D4o3qOMgagwM0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697603615; a=rsa-sha256; cv=none; b=QBzWLuahwsTFhs91oHEuTH+1U+fj3Q0ZP6lZeIna6+1jYgo0L9eWRpeuTA/cDIMu40L+3z QyTuVowmB00Gm6Rnqsab53PX/oloT0nrLHLj4CN7oL797yli97osxxhpRJOKnmyEJdXv5t VfaemESrtLsBTTvES94Yh45Cs5cxs+G8R5AALUuVPt8HPrEwJ7+uhNyc0n0UYTvtNvMd9E lD4zMmL7UGh4FoKDUoK72uC72Q4nMEBNt/tkMZZSjBUIQr2x54CojTdkapLPifhCpCvHUH enTXrLNr5+osSlnaV/9W5mz8EKd0i0pVxXCD8Ttt5SgLwfaJ9kS9sS9N91uPwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=aN9JEJ9r; 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=quarantine) header.from=runbox.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsyEn-0002Cd-Ib; Wed, 18 Oct 2023 00:32:53 -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 1qsnAL-0002DD-Da for help-guix@gnu.org; Tue, 17 Oct 2023 12:43:34 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsnAI-0005UQ-CR for help-guix@gnu.org; Tue, 17 Oct 2023 12:43:33 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo1.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qsnAB-00FX6U-Ta for help-guix@gnu.org; Tue, 17 Oct 2023 18:43:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:Subject:To:From: MIME-Version:Date:Message-ID; bh=tZ1St4ZhYEcKJiihvHCZ6UzYxSe5hxnyWVG2sTAXeRY= ; b=aN9JEJ9rSQeM4oN2wGmLijuA3Irr/vAXAzPEOGUgCkjd4oEFsVUWZiYv02Lt5nS8csHlZJokb sUMteJ7S9rVe9lT4kwRHXL6a5DH4jUKwLiO8MX8cDdgLHMGJ4/9ov8ncpeqRLnkfPNv0evGdwjWkp M+zypdyEpkqvJpN4jeQBKMYJOhrssfbcmArJt9s+6lbtmy2UE7LUes6zsujZfBxbQtt3qvg22R9S5 KQOv3QVYqn6N1ZiVrdVklnhAmdIUNY9suqvFcc+HHJ4KW132oKNG1wbsh/Tr3nYuNRA+N2CqAaNeA JzqTSRxkxWL2UhH1m5IHhCizeVZM+esfqIdrfw==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qsnAB-0000bJ-8H for help-guix@gnu.org; Tue, 17 Oct 2023 18:43:23 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (1174703)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qsn9p-002xeJ-Vb for help-guix@gnu.org; Tue, 17 Oct 2023 18:43:02 +0200 Message-ID: <2f749c20-ede2-4f1c-b95a-e9bfc1869fad@runbox.com> Date: Tue, 17 Oct 2023 09:42:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Alexis Simon To: help-guix@gnu.org Subject: Stuck installing guix package manager on Fedora with selinux Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a0c:5a00:149::25; envelope-from=alexis.simon@runbox.com; helo=mailtransmit04.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 18 Oct 2023 00:32:51 -0400 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -8.72 X-Migadu-Queue-Id: 7F38A536AB X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.72 X-TUID: 6l4CfMhUh5pe Hi, I'd like to try the guix package manager but am stuck installing it on Fedora 38 with selinux. I should say I don't know anything about the details of either guix or selinux. I know a few other persons that also wanted to try guix but gave up due to issues with selinux, so I think solving this issue could help in adoption. I've used the installer script which worked well, then was initially hit by this error `guix install: error: remounting /gnu/store writable: Permission denied` This was solved by doing sudo semodule -i /gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/share/selinux/guix-daemon.cil sudo mount -o remount,rw /gnu/store sudo restorecon -R /gnu /var/guix sudo systemctl restart guix-daemon.service (note that the mount step was the missing part that was missing from all guides I've seen on the web, and I found it in a guix commit). Now I have a different issue, guix-daemon doesn't seem to be able to access internet with errors of the type `In procedure getaddrinfo: Temporary failure in name resolution` (disabling selinux works in that case, but I want it enabled) This is what I get from setroubleshoot: ``` SELinux is preventing guix substitute from search access on the directory systemd. ***** Plugin catchall (100. confidence) suggests ***** ********************* If you believe that guix substitute should be allowed sea rch access on the systemd directory by default. Then you should report this as a bug. You can generate a local policy module to allow this acce ss. Do allow this access for now by executing: # ausearch -c 'guix substitute' --raw | audit2allow -M my -guixsubstitute # semodule -X 300 -i my-guixsubstitute.pp ``` Trying the suggested commands also errors in: ``` libsepol.hierarchy_add_type_callback: guix_daemon doesn't exist, guix_daemon.guix_daemon_t is an orphan libsepol.hierarchy_add_bounds: 1 errors found while adding hierarchies ``` So I don't really know where to go from there, any help appreciated. Thanks Alexis