From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AHHLHWdYa2S0/gAASxT56A (envelope-from ) for ; Mon, 22 May 2023 13:56:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AIF1HWdYa2TZpAAAauVa8A (envelope-from ) for ; Mon, 22 May 2023 13:56:23 +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 575A2104C4 for ; Mon, 22 May 2023 13:56:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q148K-0006zn-Mu; Mon, 22 May 2023 07:55:26 -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 1q1481-0006tX-0j for bug-guix@gnu.org; Mon, 22 May 2023 07:55:05 -0400 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 1q147y-0008OC-Ba for bug-guix@gnu.org; Mon, 22 May 2023 07:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q147y-0006FG-4L for bug-guix@gnu.org; Mon, 22 May 2023 07:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168475649523987 (code B ref 63634); Mon, 22 May 2023 11:55:02 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 11:54:55 +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 1q147q-0006Ep-Vu for submit@debbugs.gnu.org; Mon, 22 May 2023 07:54:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q147o-0006EW-RG for 63634@debbugs.gnu.org; Mon, 22 May 2023 07:54:53 -0400 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 1q147j-0008M4-CG; Mon, 22 May 2023 07:54:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=+7eF8aTvQljlBJEKJcpWR+whZyfALusDDvzEPSuS/hE=; b=EVyPWe07bYxJ2d6Q8Kzd cCHALWRMZBPyxbtbJF+gy18o8VzjaYITG+WKEDBA3VQHKtlxN3Xk5XhCFP/LYyxGelItHBaoWzS4u ahdreBeEUgxZr8q4aeYc1EYl812eXZno5eHUvpUGUrHl0zhLSbExnYNCtScu8aR7okYlpJ/XxWAql TlwMylqHphazjA/mBepMWo9sAu0esYzy+LJ2bnnTlGOQBqNOSCdYh1PiGoKfHZUgFxDp5MiX+lJ4Y 9euhp06oUUzo+sTHxvDZDEheefS7Uo8UPM4efY2kHwtayeAc9ARTwpvMfKJZqbpTnKhzM8UdFBySz wTEFQ9AmbqmTQQ==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q147i-0004ne-Vj; Mon, 22 May 2023 07:54:47 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> <87a5xwzp6w.fsf@gnu.org> <87fs7ofx3v.fsf@cbaines.net> Date: Mon, 22 May 2023 13:54:45 +0200 In-Reply-To: <87fs7ofx3v.fsf@cbaines.net> (Christopher Baines's message of "Mon, 22 May 2023 11:59:28 +0100") Message-ID: <87mt1wy41m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684756583; a=rsa-sha256; cv=none; b=r5cJ+G6IxoxodHHfYUD2RUuwYTzG8a5HICIC3VRmjGmgAmtlFEp3oBrlBAN5eFpM2pjzSm OBYfU839236EgC7c7CnFBVXw6Jxk74aWjatixOFjQWJfG5Sh5mItCGYw/jpXtIk3n0+L+u S2H1rZj9YxaeiDzfGPRH/EXL/tJ2iFUW5dOKQ1p4FBKwZ5HjJYfKuRNdT6f2NsZg8xzn2q 1uQYd+FA0HqrpF/bl7RqGFGIDxi6U5Ommu5M4ZD70Buq1CDIuDBEAL7qoMEefzyILD89aQ h/vh/dus191fV38jOAq88LVQ4CL7FqsDBsuakiJv6AZUa7iS8PkNEMEDgkPwzg== 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=EVyPWe07; 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=1684756583; 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=+7eF8aTvQljlBJEKJcpWR+whZyfALusDDvzEPSuS/hE=; b=md3D193hRpEgU9cIXlnGSnkYYB8txUinEWYWsCTx2TT/CPT9lUSDnh5JwnZMW17B86DY2M mZcXxGSZf9HJ7SO1DcbOh5RwWKnOdJvEvBXabm4TnremIaRngvBN6FSHw9W7XGqK2LX4eT FkGm6m7PeQlbtEtVMAUEjlqj0FsA5fd5meMoxTWehU6FjYRELMZHYMYRvOuUBoo1jvqnM4 0ip9N/eo0WJ14Ii+HkEC+txTNX6jGz7UYCM5ix02/0N9iSgpFrQoTKb21q0bJZZXj04nN6 nGyLEt+lU06ccxmp3sPzVP8sU06O+FdNglxMxMUf75ZVbWC4Fti1gsmUVXKXRg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=EVyPWe07; 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" X-Migadu-Spam-Score: -2.57 X-Spam-Score: -2.57 X-Migadu-Queue-Id: 575A2104C4 X-TUID: tzDpFW8hjZBY Christopher Baines skribis: > Ludovic Court=C3=A8s writes: [...] >> So it seems that bordeaux.guix did advertise zstd at some point (and >> that narinfo is still in cache) but no longer does. >> >> Chris, can you confirm? > > Yeah, this would have been a consequence of reducing the cache size [1]. > > 1: https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=3Dce= 8d3000fda6b80c0cf3e6f8204e0ee293024e6b As discussed on IRC, I think nar-herder should honor the TTL it advertises for all the URLs of the narinfo (lzip, zstd, etc.) because that=E2=80=99s how =E2=80=98guix substitute=E2=80=99 currently interprets t= he TTL. Eventually it would be nice for =E2=80=98guix substitute=E2=80=99 to interp= ret the TTL as applying to one of the URLs (not necessarily all of them), but this kind of change takes months if not years to be widely deployed because users rarely (if ever) update guix-daemon. Ludo=E2=80=99.