From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +PbFGGvjOmVYzwAAauVa8A:P1 (envelope-from ) for ; Fri, 27 Oct 2023 00:08:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +PbFGGvjOmVYzwAAauVa8A (envelope-from ) for ; Fri, 27 Oct 2023 00:08:43 +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 BD30935F7F for ; Fri, 27 Oct 2023 00:08:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=B3BA4621; 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=1698358123; a=rsa-sha256; cv=none; b=k9RcZQXhRlkWEG7Bve0KPApxm4uns7pseaeCvNvbbp81ErWFXWEie/xhUedsUHOkeDwgaR LQOebsaCi9zs4j9/9ASg1ZxcycCPHm/sKOnyhHgyqrsCtTy92H6VIe9xiFvEmvWAVXS6J8 9ezeFyznaw9TOgtG4WrWcsfUO9SVB4C3bjh6RgvnXNutpZYFaQpbWA2yeXqYSfnCd/Vp3d 0GOgVFBOotqFR9/z+Kjbi5LIHmSX4/lYUXuCYdwhtZqeYTr7edqrCbeKk93lCxvtZsxQCy fRh57/brqc9FH/q9DChUryoUtRXY6ZNDa5hHPu/vfswyNTWDPnzjp1BMp8Qb7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=B3BA4621; 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=1698358123; 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=qQjXcfdq4QeUvRZabiEUPhEXHkGy3e0Ghyy4HnLi3mg=; b=ORvv2W7SciDD4xrgsg3ttSPpJsnHP2qEG4ey7La14w6kRMJ5S8esreSjJUe3ZlFkV1xGlA 54VO7nTSJlOlUZ3KqVm1ICKnQWLVWDsyl2oEVEfBIqkjNef+8edV+yUdMhr46zS+43H1yV aCLZpxyHbHWp07KSwr3rFvWDvqdPGkuiSkauNmZeBsRHJjyrVzPTCSO+LzBGQxytrqMaE1 p4e1kQOWkW5nQBQSNoAmddU21Ce+DdLVnkyID9ahUVhmUlgwWcYesF7F4qfpY6TvRmu/cK 4MaSLjz7XE5wy4y3LRnQclZZHxI0IskBLa1E8ineGTzD6ThmwvRFlqv6c9A+2w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw7uE-0002uS-EU; Thu, 26 Oct 2023 17:28:42 -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 1qvi1a-0002s0-Hm for bug-guix@gnu.org; Wed, 25 Oct 2023 13:50:38 -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 1qvi1Y-0007ce-NI for bug-guix@gnu.org; Wed, 25 Oct 2023 13:50:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvi22-0006jv-W4 for bug-guix@gnu.org; Wed, 25 Oct 2023 13:51:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66305: Error with recursive git checkout References: <87msx1qmvs.fsf@kitej> In-Reply-To: <87msx1qmvs.fsf@kitej> Resent-From: Alexis Simon Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 25 Oct 2023 17:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66305 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66305@debbugs.gnu.org Received: via spool by 66305-submit@debbugs.gnu.org id=B66305.169825621925826 (code B ref 66305); Wed, 25 Oct 2023 17:51:02 +0000 Received: (at 66305) by debbugs.gnu.org; 25 Oct 2023 17:50:19 +0000 Received: from localhost ([127.0.0.1]:59990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvi1K-0006iS-UT for submit@debbugs.gnu.org; Wed, 25 Oct 2023 13:50:19 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:54046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvh7T-000593-Td for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 12:52:39 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.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 1qvh6r-002HUS-C8 for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 18:51:57 +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:From:Subject:To: MIME-Version:Date:Message-ID; bh=qQjXcfdq4QeUvRZabiEUPhEXHkGy3e0Ghyy4HnLi3mg= ; b=B3BA46213d/xzcXVR2jKFTtSzf6elumMxcGA05uIQHSgOZJcvYqtNpvWNdiPEvvY6dugVqTsk jGUXqxGwRXIrzkpBcrC/DfQwMbcSWjDuWs7LBuIvoNeRBQdVcPT6jGpoizuWnCyJq15HX29utuaKE RYQgONf17w/SgCrlEhUomWzdY1h8+vuuNHsOZR3/VlDpFPr1SM4uN4lF1+TQ+iuXxtJTwC6egbJTz aCjNO+tgghmVVBL3KfQTa7EVnrZ1s1J2a0ou1maISw65SOvgTQSzs9pvdZd1WaHixBCHAdwjGNp3A yTzT93gw4iRObpvfVxTSUDoLLjTd0klVNzTfTQ==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qvh6q-0006Vr-Rb for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 18:51:57 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1174703)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qvh6b-009Tlh-HG for 66305@debbugs.gnu.org; Wed, 25 Oct 2023 18:51:41 +0200 Message-ID: Date: Wed, 25 Oct 2023 09:51:37 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 25 Oct 2023 13:50:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 26 Oct 2023 17:28:41 -0400 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: Alexis Simon From: Alexis Simon 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: BD30935F7F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.69 X-Spam-Score: -5.69 X-TUID: ZJK3N6dk3mmJ ah well it seems this is due to a selinux policy error --8<---------------cut here---------------start------------->8--- SELinux is preventing git-submodule from execute access on the file /usr/bin/sed. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that git-submodule should be allowed execute access on the sed file 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 'git-submodule' --raw | audit2allow -M my-gitsubmodule # semodule -X 300 -i my-gitsubmodule.pp Additional Information: Source Context system_u:system_r:guix_daemon.guix_daemon_t:s0 Target Context system_u:object_r:bin_t:s0 Target Objects /usr/bin/sed [ file ] Source git-submodule Source Path git-submodule Port Host xps13 Source RPM Packages Target RPM Packages sed-4.8-12.fc38.x86_64 SELinux Policy RPM selinux-policy-targeted-38.29-1.fc38.noarch Local Policy RPM Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name xps13 Platform Linux xps13 6.5.7-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 11 04:07:58 UTC 2023 x86_64 Alert Count 460 First Seen 2023-10-24 20:20:26 PDT Last Seen 2023-10-25 09:44:31 PDT Local ID fa57086c-6738-4eec-8252-3abb66a9e249 Raw Audit Messages type=AVC msg=audit(1698252271.150:513): avc: denied { execute } for pid=10644 comm="git-submodule" name="sed" dev="dm-0" ino=261979 scontext=system_u:system_r:guix_daemon.guix_daemon_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0 Hash: git-submodule,guix_daemon.guix_daemon_t,bin_t,file,execute --8<---------------cut here---------------end--------------->8--- But trying to fix it does not seem to have any effect. I've added this to the guix-daemon.cil and re-applied --8<---------------cut here---------------start------------->8--- (allow guix_daemon_t bin_t (file (execute))) --8<---------------cut here---------------end--------------->8--- Alexis