From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KF6BFtnDU2T0fAAASxT56A (envelope-from ) for ; Thu, 04 May 2023 16:40:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gFFeFtnDU2TlSgAA9RJhRA (envelope-from ) for ; Thu, 04 May 2023 16:40:25 +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 23B603F948 for ; Thu, 4 May 2023 16:40:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pua7q-0008J4-5J; Thu, 04 May 2023 10:40:06 -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 1pua5q-0007sp-PN for bug-guix@gnu.org; Thu, 04 May 2023 10:38:03 -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 1pua5q-0003Nn-8k for bug-guix@gnu.org; Thu, 04 May 2023 10:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pua5p-00035D-OX for bug-guix@gnu.org; Thu, 04 May 2023 10:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62491: (No Subject) References: <87cz4tq501.fsf@gmail.com> In-Reply-To: <87cz4tq501.fsf@gmail.com> Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 May 2023 14:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62491 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "62491@debbugs.gnu.org" <62491@debbugs.gnu.org> Cc: "clement@lassieur.org" Received: via spool by 62491-submit@debbugs.gnu.org id=B62491.168321106611823 (code B ref 62491); Thu, 04 May 2023 14:38:01 +0000 Received: (at 62491) by debbugs.gnu.org; 4 May 2023 14:37:46 +0000 Received: from localhost ([127.0.0.1]:51676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pua5a-00034d-86 for submit@debbugs.gnu.org; Thu, 04 May 2023 10:37:46 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:13703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pua5U-00034I-3o for 62491@debbugs.gnu.org; Thu, 04 May 2023 10:37:44 -0400 Date: Thu, 04 May 2023 14:37:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail2; t=1683211052; x=1683470252; bh=gIt7WFM03WMks3hASGjfBE7yP/ExWSFV34/HGVMdL/0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=SGBKQTEvdcS/d3x7yXRTHcwjSm4zh0W+rNFLd0Ytr9zgwKBzAIXWtI+vNhGP4tmJf lVBz3Z3K9oK0SyNtZAXX5aSgm7AzZ4l1uK5S6UzTae2jwUXHUDCU5NAlkR1qadEdMu OaehCB1pIPyTRizpiU+S01OrKlpqso6Bp68SVGF+nIe5A/cPb4ddB6wMKo8AWsHway ID9WP6H5c37GX4YcKx2V5kzG0VC38N2m023tZVyZ5XKkJruod6RoPl+nULfhC0ZmVf 4TrV6/5JWfNCKb3RBRCiDFXeep6acgobk6lBsIQfkhtKtMm468LWrhjobDyo/KF+YU VlDCl7PszK9oQ== From: Attila Lendvai Message-ID: Feedback-ID: 28384833:user:proton 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=1683211225; a=rsa-sha256; cv=none; b=HxRC4vTqKBlc8vKiNnYQBDZOYzz0ynrZJJTyo+qXnsBL4anxJoqv5F3UedpjMQIFJH92JV A41S/xW9GyO9JVv4b9Ja5SBfDRoQHhHKe3VroQA9vPaz1huLolWtG0+asfajRxl5EfXa5d D6d5GOxMUj48vrDKeV7DH2VCa4WNPBCiC7pnuXvL2c2LwGv1evS40HvKHy4BikYDIjE8PQ i79MmPrG2sqOs8OEcegMpREP+mzHTRuV1n0jGtHFxxQgEtOdz91TMc+htwPRRiA3cEzYhl dval9eDz17FtKkX4VVTSW3OeQcJ0T+QLCJmNMEeDgjrTGaiQW6lq2UuiIi3GYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail2 header.b=SGBKQTEv; dmarc=none; 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=1683211225; 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=gIt7WFM03WMks3hASGjfBE7yP/ExWSFV34/HGVMdL/0=; b=i4rUfU9nkDjky/o+5ht09SopNM5rQ2zmxcZeB4LLy+qt5MNBJnjckg5dpdp7xuNxavYpqc Zi2gl/4HDXmObL9oeFNw0PyHi6eGBka3tytg+4PLjTAzTP3HiKu8+YVhHjVaeu+LWtrq4d vIfRaqgYUHbA+3l1rsqT1DNYI03aPYqHr98cHdqjuQvAZJaLPlfMtZbzEPqV1FV4DTdHrl 8LfJxeVGANkQc4Q+dolNaqE7ShXqwAhLNucU2BPzza+Zy3/94pnQSUsGXkK/Ok9DeRjeDW sMl4ByKPmXjA3RSyd/y/d33xJl+5TEvfYqyribWsiv5pI48MteBOeugIHMBvzQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail2 header.b=SGBKQTEv; dmarc=none; 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.29 X-Spam-Score: 2.29 X-Migadu-Queue-Id: 23B603F948 X-TUID: k4EK8Uhq5WXa i don't think this is the same issue as #56678. or at least what i'm seeing on my server is that the wrong certbot cmd line= is generated, which then results in saving the challenge at the wrong path= . this is the mcron that gets generated: [...]/certbot certonly -n --agree-tos --webroot -w /srv/http/ --cert-name d= wim.hu -d dwim.hu --email attila@lendvai.name and this what worked when i fixed the -w arg: [...]/certbot certonly -n --agree-tos --webroot -w /srv/http/dwim.hu --cert= -name dwim.hu -d dwim.hu --email attila@lendvai.name i.e. the -w parameter should point to the webroot of the virtual domain, bu= t the guix config structure does not allow setting the webroot for each , only at their parent, i.e. in the . this all seems to me as if the certbot service code was assuming that the c= ertbot script will append the domain names (specified with -d) to the webro= ot path, but it does not. from the certbot log (i.e. challenge is saved at the wrong path): "Removing /srv/http/.well-known/acme-challenge/[hash]" the relevant code is from 2018, so certbot's behavior may very well have ch= anged since then: https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/services/certbot.scm?= id=3Dc3215d2f9d8fa4b890e3a41ceb4404b76a7c5c49 it seems to me that the webroot field should be moved down into . am i right? if so i may try to patch this up. -- - attila PGP: 5D5F 45C7 DFCD 0A39 --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CState is the name of the coldest of all cold monsters. Coldly it l= ies; and this lie slips from its mouth: "I, the state, am the people."= =E2=80=9D =09=E2=80=94 Friedrich Nietzsche (1844=E2=80=931900), 'Thus Spoke Zarathust= ra' (1885), http://j.mp/1k6pbwS