From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 aFglFX3fbWWXCwAA9RJhRA:P1 (envelope-from ) for ; Mon, 04 Dec 2023 15:17:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aFglFX3fbWWXCwAA9RJhRA (envelope-from ) for ; Mon, 04 Dec 2023 15:17:33 +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 3AD1D60718 for ; Mon, 4 Dec 2023 15:17:33 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZHiEZyaA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701699453; 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=smLXDgvKsWkfqbJjdD9CaOQ32EhtxTUeHt3/MO8EjL0=; b=YtlysBzO+xkJV7WCHpS/wvGigrwLAmL1aKhZk6n6QtqHcvfB5BfevmfApAyIqdPCRmzQOT 7SB95YhlEPqpB301E6aSGUZ8+zZxoWCmWWEYsPnPiwMV8kDXLDQMSoZgMt/DVDyL7/Wlbc /My32Tdbyn0HeX8VC8T/QHw4hquhJIdrSb6iyDBLZFXR2uJqw88lBo58bXNG2PZtZ6idvy EYw5hgkNirswvZjzwNlwPU+Qr2Yy1R5I1i6VRTDeHeH4smEa9vNcVvcRi2Zw1v6NTQvST9 Zs8OeyGSUGQzNWv3nHpLN4prRjQ31TvhnLApG0Dk7vZJEt7oTZRwe02DVRT4/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZHiEZyaA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701699453; a=rsa-sha256; cv=none; b=RLuI74JIpnT7fgINSlbHQbaEahwOQt7KUyMUxENVry13sxY55vJOT81FY3D7KO9OeuZ2sl 0R4nP411nLnll5mwH/R0uSUp3xKWGSiKuhZdsduFj/4VmegSzeMySGUzKqPPguyXPdyE54 MJg+7vBPgZ8J5jCDHq6pH/I0TbRrvuwB2HVqojfZZCvIixhuDYpoAnbrJ7BSws3VkiDpxk N9aYi+BcQNnJVVWRxlSqm13Z6nxnnViCYzD2HOZPQFvbmiss9Nn7se8V3JkD4nZmvdKyOg 7oAqjCmzYvRlWglCzGZhoEI7MLbZt+p0EThG2Gx+R1Cl1fuyXDvKe0KwrfdMRA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rA9ks-0006ju-6v; Mon, 04 Dec 2023 09:17:02 -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 1rA9kl-0006eC-6P for guix-patches@gnu.org; Mon, 04 Dec 2023 09:16:56 -0500 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 1rA9kk-0007Wy-9U; Mon, 04 Dec 2023 09:16:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rA9ks-0007gA-9t; Mon, 04 Dec 2023 09:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67072] [PATCH v2 0/4] Helping diagnose substitute setup issues Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Mon, 04 Dec 2023 14:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67072 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67072@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 67072-submit@debbugs.gnu.org id=B67072.170169938929418 (code B ref 67072); Mon, 04 Dec 2023 14:17:02 +0000 Received: (at 67072) by debbugs.gnu.org; 4 Dec 2023 14:16:29 +0000 Received: from localhost ([127.0.0.1]:33754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rA9kK-0007eQ-Kf for submit@debbugs.gnu.org; Mon, 04 Dec 2023 09:16:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rA9kI-0007eC-NI for 67072@debbugs.gnu.org; Mon, 04 Dec 2023 09:16:27 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rA9jz-0007QF-Uy; Mon, 04 Dec 2023 09:16:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=smLXDgvKsWkfqbJjdD9CaOQ32EhtxTUeHt3/MO8EjL0=; b=ZHiEZyaA1VYIOfuirExP 7JkDsIw5PSckvYryt4tNR18reBovg+feIWe886BE7JmnXSWmYMEXPHGgYeIlcwavJ5RKoINm3Tq7E lgt0hW90XLWKFgaOuWWeVRqPqKWo2kE4fddrLyqmrwP1BbXCu/wcRIsxiaj3yRhzsUq6H6s3YuUoz U/h20N7NjZrViNN0Vwa9wyFsG8bzMURVCoTdUzA0rhtwnHLWhuGjwP3utuIlLguJHlSyAb+E4u1Kh l/uDJk2RWXGHgFigorrLwDimRahSfwmZkXml5bar/4LLeQjRK1qHqFmmWzRyeoaKQ0yqdnl0VNKB5 GZHXSe2QRbHadg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 4 Dec 2023 15:15:41 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <875y1gj47u.fsf@gnu.org> References: <875y1gj47u.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.34 X-Spam-Score: -4.34 X-Migadu-Queue-Id: 3AD1D60718 X-Migadu-Scanner: mx12.migadu.com X-TUID: jO6wZzUoNaqY Hi, Changes since v1: • Gracefully handle unreadable /etc/guix/acl file in ‘guix weather’; • Simplify ‘guix weather’ warning message when the daemon does not support the ‘substitute-urls’ RPC. Lemme know what you think! Ludo’. Ludovic Courtès (4): daemon: Implement ‘substitute-urls’ RPC. challenge: Use the same substitute URLs as guix-daemon. weather: Use the same substitute URLs as guix-daemon. weather: Report unauthorized substitute servers. doc/guix.texi | 26 ++++++++++++-- guix/scripts/challenge.scm | 11 ++++-- guix/scripts/weather.scm | 61 +++++++++++++++++++++++++++++++-- guix/store.scm | 18 ++++++++-- nix/libstore/worker-protocol.hh | 5 +-- nix/nix-daemon/nix-daemon.cc | 17 +++++++++ tests/store.scm | 25 ++++++++++++-- 7 files changed, 147 insertions(+), 16 deletions(-) base-commit: 6e2dd51df5f3f51e9056dd4f2e1b036195ab3caa -- 2.41.0