From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id lkktB36E3GNvogAAbAwnHQ (envelope-from ) for ; Fri, 03 Feb 2023 04:50:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QG1MBn6E3GOUfgEAauVa8A (envelope-from ) for ; Fri, 03 Feb 2023 04:50:22 +0100 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 C6CFF1030A for ; Fri, 3 Feb 2023 04:50:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNn5Q-00011K-3I; Thu, 02 Feb 2023 22:50:04 -0500 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 1pNn5O-00011A-Ef for bug-guix@gnu.org; Thu, 02 Feb 2023 22:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNn5N-000587-QR for bug-guix@gnu.org; Thu, 02 Feb 2023 22:50:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNn5N-0007tl-MF for bug-guix@gnu.org; Thu, 02 Feb 2023 22:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#55399: guix system reconfigure fails on channel validation Resent-From: =?UTF-8?Q?Andr=C3=A9?= Batista Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 03 Feb 2023 03:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55399 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Maxime Devos , 55399@debbugs.gnu.org Received: via spool by 55399-submit@debbugs.gnu.org id=B55399.167539614230287 (code B ref 55399); Fri, 03 Feb 2023 03:50:01 +0000 Received: (at 55399) by debbugs.gnu.org; 3 Feb 2023 03:49:02 +0000 Received: from localhost ([127.0.0.1]:36252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNn4Q-0007sQ-1N for submit@debbugs.gnu.org; Thu, 02 Feb 2023 22:49:02 -0500 Received: from mx1.riseup.net ([198.252.153.129]:40956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNn4P-0007ry-6T for 55399@debbugs.gnu.org; Thu, 02 Feb 2023 22:49:01 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4P7M8R5MV4zDrCC; Fri, 3 Feb 2023 03:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1675396135; bh=9RF362HiPPdsDH4HU3SQoYMH+c7EVOio84H0LLOcIQA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DfeSJJJVd7LMThCcGC/jYJ5CxIKmhluEz0duhZE+x7GmSKRhxMFtLrrGr2ubwEh2o PcxlR0UOgDuLpzjcEFbyPqp8z0assD5bgoYL44XaXQITg2SynIW4bN77IfHw4kh/A7 +z8KUSxZGinmdPH/Fv/Eli01pSLRIEV0R0uOfeg8= X-Riseup-User-ID: EBE1C987D09D63312F00C2A9337FC9DEB059DF5DE69BBFDB5D5B8BB7FA20F2C3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4P7M8Q3JlFz1xn6; Fri, 3 Feb 2023 03:48:54 +0000 (UTC) Date: Fri, 3 Feb 2023 00:48:43 -0300 From: =?UTF-8?Q?Andr=C3=A9?= Batista Message-ID: References: <87a6b85o37.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675396222; a=rsa-sha256; cv=none; b=SApGcsSkAvpqlWdeaSAsDevmYcGktSbSOnDJEgQPoSp+ngoC27oUi32YtZAH1mt4CYWywq H84fz1AkDtP20mBhzd/scarS8QNxKgsCIVj2rGs1sBbIkyoVjmHJmkB+lIvVMgPM75Qhml IamhSZZhWFkuK2fuTLCBo6lHEfn+xhIvyqDtfkpJAssOMplYbRE5VgviIdPsrT5pDbKKGo P4WL+O9WMGLOaxofm8KAt5SODCw6odhBYkAGz9zWhzurUP6GBaHNuaTcyr6OQRPFOM+9PB RSnv5atp0VZRm8hYt50NYgvGzoNGB88DjIwLKyylFKm46iBXq4h7dNJftB6/+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=DfeSJJJV; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675396222; 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: 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=v1f+RMBe3+Wss1idIupswoNaw+WOU8H+MuVrdAI99Es=; b=MBGvjV1lc5eW3fXV11NSN5nE+MXSjKbzoQ6UcS0zGpzNtFKc0SVPmKj6C9G7x6SgqfpSEQ dxEhbHcX6M+frzizUouWSp7kHmsJXu3g9Hc7QZF+1s5ix1VFMd8mh7qHr4jprRzbbt2+tw j9xZc81Df1RBl7Y3qzL6ruyV6WQuvqq77Xfc/vJAEUWX1M+GWqt4zd6Kw7rZE45BVu7q9W P1EyxNVUU2zLif+3pPC+pQzDezro0G6hYZaZjMcGGa586/QmC/INF7yg9YZqgqR2Z11ArI vICNyCrZtco5RUH5Z73HDgqA5II5rcliHhf2YfWuwBbKCVJ6oYKqBIMdFYNxMQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.83 X-Spam-Score: 7.83 X-Migadu-Queue-Id: C6CFF1030A Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=DfeSJJJV; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) X-TUID: q7hqkkURVRSK Hello, ter 24 mai 2022 ās 20:44:13 (1653435853), nandre@riseup.net enviou: > seg 23 mai 2022 ās 16:18:52 (1653333532), ludo@gnu.org enviou: > > (For now commit b6bfe9ea6a1b19159455b34f1af4ac00ef9b94ab changes > > Guile-Git in Guix to depend on libgit2 1.3 as a workaround.) > > After upgrading guile-git, the attached patches disables owner > validation and reverts the above commit which made Guix's guile-git > depend on libgit2 1.3 instead of latest. #61246 has an alternative solution to this issue. Newer libgit2 versions check for safe.directory configuration entries on user's global scope. This means that instead of disabling owner validation in guix code itself, users can exempt directories of their own choosing. This is IMO a better solution and so the patches provided here should be disregarded. However, since libgit2 seems to have changed its API elsewhere after 1.3.x, I've avoided messing with guile-git inputs this time and so it still depends on libgit2-1.3. IMO, instead of upgrading libgit2 dependency and risk breaking guile-git in unknown ways, we should work on revising guile-git's conformance to latter libgit2 versions (it's currently on 1.5.1). Meaning not trying to apply the patches Maxime provided, but working upstream. WDYT? Cheers!