From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id yN4LKjycYGb2OQAAe85BDQ:P1 (envelope-from ) for ; Wed, 05 Jun 2024 19:11:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yN4LKjycYGb2OQAAe85BDQ (envelope-from ) for ; Wed, 05 Jun 2024 19:11:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mArvcgCm; 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=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717607484; 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: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=5svpOT2Fq1Zoh0QCPhuKpXAhhPdJw4XlxFZAGznYH2c=; b=rWJbHLox+FEgyAvRLU11A+UsoEK3u7lIHVtQ+MovLYChbBPDOnY43T3eGxTrs7SiNOs/1W GbywKbpYhKFfVEBqwinzXWyhBBTh8eE/dRTy77No/SLxOmRPdpDS20unggdtu29IqjGzHk RiKhfSo5sjEAWDjK68XAuFeIHgzbYgLvc8lXhjhqKdFAQrrDiB0zBaTvleW0pwxJPoO5gn 4eGBCh232EibOxaT3SrhsajtzJs2Kmy0rWw+N/0+UQ3QUFp4aMpKG5adClXu4kCwCtqqv/ LgcVmBWaTrDxC6Fe8DLl9lk9sK4Lc9foVb6AfSFA5MR0hFo+5rkgYkGCY71rtA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mArvcgCm; 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=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717607484; a=rsa-sha256; cv=none; b=awt4QSX4u0g6g6FUK+ueQ16NS9klooP+51mcIrkCEB4RjbpRyqX3oM2bA2mfNy8yk2Vr+m +J4ALsSSHduKJEMJ2Dh1gXQf/8sucQctM96i8TwVGjn9yyRoq4+ExRHX3k/rUIVdEbsSVN 6leW0kVTl0u1x96Vd3BW+cvhhp4UlUYrIP9z6k/NSftPkspaeHE8k8XNU4JQnfYTscKVgv BxkWGDnIPCh0lKwPC0/qHC3c2cgonasHrIJ7atvx/OFjQI3xx7ZEvlpMnF4FCXMiyQGwyz UYPtoCmXmsDcS7KA1jZmzEfla9QvwxtzFEKhb4HqunPHq9qGR6KGQLS2XxzlBg== 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 5B4096DAD8 for ; Wed, 5 Jun 2024 19:11:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEu9z-0002YK-18; Wed, 05 Jun 2024 13:10:51 -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 1sEu9x-0002WK-R2 for bug-guix@gnu.org; Wed, 05 Jun 2024 13:10:49 -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 1sEu9x-0000er-In for bug-guix@gnu.org; Wed, 05 Jun 2024 13:10:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEuAB-0002rD-JN for bug-guix@gnu.org; Wed, 05 Jun 2024 13:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70243: The substitute authorization warning is displayed when it shouldn't be Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Jun 2024 17:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70243 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Famulari Cc: 70243@debbugs.gnu.org Received: via spool by 70243-submit@debbugs.gnu.org id=B70243.171760745110916 (code B ref 70243); Wed, 05 Jun 2024 17:11:03 +0000 Received: (at 70243) by debbugs.gnu.org; 5 Jun 2024 17:10:51 +0000 Received: from localhost ([127.0.0.1]:49869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEu9y-0002px-B0 for submit@debbugs.gnu.org; Wed, 05 Jun 2024 13:10:51 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:38849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEu9w-0002p1-CY for 70243@debbugs.gnu.org; Wed, 05 Jun 2024 13:10:48 -0400 Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-35e4f079a35so550077f8f.3 for <70243@debbugs.gnu.org>; Wed, 05 Jun 2024 10:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717607368; x=1718212168; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=5svpOT2Fq1Zoh0QCPhuKpXAhhPdJw4XlxFZAGznYH2c=; b=mArvcgCmNKanu86EIbKYtKBE4j43RSK/XW+4EP3A8lqBq+aPxOP4K4Ly/X4q8AjEYu F/ZCCDa1mWTkJgZu/l4TajaoI5DnE58Z4sgc2uprHDu84Vl2r58gsoOSPI9vEvlP6xbE osUyrNfY3RxF4LHsNJgpOrQ/SZ30Hzp930juhTL/lUXg2jGUtif+meKE5RKSxSqr4Srr ekAHGkKy+lVbByGkow6c/lmK3iX7WqM6nnbYouo3SH+NOoHqznS1ExKd3UU0UVL0ZCn8 hDd6zjJ/8ejNNfn6n2Uj5z+0KEnTY09LYDRta8EN8H2pnEQ808E0tk7zuXqrDSK0cuYc A/lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717607368; x=1718212168; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5svpOT2Fq1Zoh0QCPhuKpXAhhPdJw4XlxFZAGznYH2c=; b=SomJJlD5qhZP7PlfSf3WYiv+toLw7P2JsCgm48FWT61xzbQMwA0J12xKBibsMLY0Oz 7FWEc/72sLBeU2xChgP9yG/WjxpWQsLpUfGefRTlS9sZMh8N8gPcmqEhGN7RT+cpCl16 IArdSY2ds7ahvEK48FqeRJH+x7xp591jVdf6mLKJkSkmeDYN/FqfjEPEDU3+mX1+iYDo /QHxCVNpqaMoy9SzzMmVwCxLCf4a91bGOcyKkip0K+EaC+UAiv5Vs715fsNsKgbOP9BE tnCzmDVZabCxvyXdkgMTFDRficlPOTG/K4UiIsBNg3K50nD8C873QkIjzv4LaAARmBqj QRkA== X-Gm-Message-State: AOJu0Yze9MkiNGawkoC9wVI5lAC2g4OzePliyFIZGY43OJdP5lBVyFpT j5yICgPaboUFpxOoOsqjnRM7Go+a6OMaGIEYXFGI7jHbjTqXUIcRyk8eLg== X-Google-Smtp-Source: AGHT+IEIsCmEfLXyv8f0/wMeWVVxtqYjDMJtQ2KFdwRD/wQy1w06YS0O849ojYNy41kOjr4yEo0G9A== X-Received: by 2002:a5d:40cf:0:b0:354:e03c:b39a with SMTP id ffacd0b85a97d-35e8ef93c17mr2145318f8f.6.1717607368391; Wed, 05 Jun 2024 10:09:28 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-41.net.univ-paris-diderot.fr. [194.254.61.41]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd04d9424sm15254798f8f.50.2024.06.05.10.09.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:09:27 -0700 (PDT) From: Simon Tournier In-Reply-To: <87v8322q5v.fsf@gnu.org> References: <87v8322q5v.fsf@gnu.org> Date: Wed, 05 Jun 2024 19:06:05 +0200 Message-ID: <87r0dbmi9u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.66 X-Spam-Score: 2.66 X-Migadu-Queue-Id: 5B4096DAD8 X-Migadu-Scanner: mx13.migadu.com X-TUID: VJYHRgIb8206 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On Sat, 25 May 2024 at 11:31, Ludovic Court=C3=A8s wrote: >> But, I do have the given key in my '/etc/guix/acl', and this works: > > Are /etc/guix/acl and /etc/guix world-readable? I had been bitten by this recently. And I have not found any mention about that in the manual. Maybe it could helpful to add: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=p.patch Content-Description: p.patch diff --git a/doc/guix.texi b/doc/guix.texi index 5e1173b8c6..3b97674733 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3792,7 +3792,8 @@ Getting Substitutes from Other Servers @end example Again this assumes @file{key.pub} contains the public key that -@code{guix.example.org} uses to sign substitutes. +@code{guix.example.org} uses to sign substitutes. Make sure +@file{/etc/guix/acl} is world-readable. @end enumerate Now you're all set! Substitutes will be preferably taken from --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In addition, I had to be read a comment in source code to know what another issue was: the daemon=E2=80=99s too old. Hence, I would suggest: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=pp.patch Content-Description: pp.patch diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm index 08a1b22a74..98a09f9e9a 100644 --- a/guix/scripts/weather.scm +++ b/guix/scripts/weather.scm @@ -643,7 +643,7 @@ (define-command (guix-weather . args) ;; substitute URLs, presumably because it's too ;; old. (warning (G_ "using default \ -substitute URLs~%")) +substitute URLs; maybe the daemon's too old~%")) %default-substitute-urls))) (systems (match (filter-map (match-lambda (('system . system) system) --=-=-= Content-Type: text/plain Both would ease the debugging session of substitute authorization, IMHO. Cheers, simon --=-=-=--