From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 WOUkJaGUuWW4bgAA62LTzQ:P1 (envelope-from ) for ; Wed, 31 Jan 2024 01:30:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WOUkJaGUuWW4bgAA62LTzQ (envelope-from ) for ; Wed, 31 Jan 2024 01:30:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lassieur.org header.s=fm2 header.b=e5ahRHdu; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="B /kuGni"; 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=1706661025; 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=BFFf+8TnMhddHsAOvMoXfjzvCzteJ9JBw70lxTSnncQ=; b=jZpTlUojb2Yi/OQ9KUfMC0eIO+ANLXDb02z1vtbDiRbUjzpqC+H6xNeoo9VzN0B3eWynbd 3qr5OKdvxvuUddQM4UblHJgPHIzszmMfJOTfGZa0SabN1FgSCByrGECkDn+DM5yGPsg9lE Y3kspyHJjeFe1iTXwIr802yVhfyk6rvBD1US9atoymahhv3Z4FDyMyN3jR8hxFP8k1QJlx kzFqXr98zBoXx+CVdytwKaVCeQUGqQV78dQlFvN6laTQMsuB9mWoEl0meBXm6QqD4KXRnX OCQt2qk3AdD8pHC9nxrCk7VSc2bRfbFY0I4VD/RENTR+cGqmmz8IS83+n49kaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lassieur.org header.s=fm2 header.b=e5ahRHdu; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="B /kuGni"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1706661025; a=rsa-sha256; cv=none; b=nHA1JuT6+NW6IgfGRZCrJudQ9ocLKabIHdPn7yLsha0iM9F5uA3TW06xtwy8Z3HtJRvt1m gqtoVlticrN/lHOFXpeY3G82g2XpD2KQOrDmtBS6tLMBOMyc2Co86OqB+2etjHWzJiG1y1 U6eEb0+9ydLf68ktJSIj73yzcs3E6+3O1X/yjuVkeHELqtdeQc6O3skFajKx0vuAWP2TYo PoDPUcCxt6P1NmAy1y6lyglVDCpUFxJTSqPMXb+mORMCQ1+KPmZ+E8QkCahZGdIbJJ8aTa cW+MdauydwGUE8hgvUTKefYX5JHlmDReUdrBGvJFMmi12POiJbH4JgQhW5csqw== 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 A3C2E240C2 for ; Wed, 31 Jan 2024 01:30:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUyUF-0002i4-4G; Tue, 30 Jan 2024 19:29:55 -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 1rUyUD-0002gJ-By for bug-guix@gnu.org; Tue, 30 Jan 2024 19:29:53 -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 1rUyUD-0004Ym-1x for bug-guix@gnu.org; Tue, 30 Jan 2024 19:29:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUyUM-0002Ty-0n for bug-guix@gnu.org; Tue, 30 Jan 2024 19:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46961: Nginx and certbot cervices don't play well togther Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 Jan 2024 00:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46961 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carlo Zancanaro Cc: brice@waegenei.re, 46961@debbugs.gnu.org Received: via spool by 46961-submit@debbugs.gnu.org id=B46961.17066609839490 (code B ref 46961); Wed, 31 Jan 2024 00:30:01 +0000 Received: (at 46961) by debbugs.gnu.org; 31 Jan 2024 00:29:43 +0000 Received: from localhost ([127.0.0.1]:37178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUyU3-0002T0-F7 for submit@debbugs.gnu.org; Tue, 30 Jan 2024 19:29:43 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUyU1-0002Sk-8f for 46961@debbugs.gnu.org; Tue, 30 Jan 2024 19:29:42 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 8EB985C00F9; Tue, 30 Jan 2024 19:29:26 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 30 Jan 2024 19:29:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassieur.org; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1706660966; x=1706747366; bh=BFFf+8TnMhddHsAOvMoXfjzvCzteJ9JBw70lxTSnncQ=; b= e5ahRHdutRr+XIpCSkNgNUpcv2WpIMpI8ARo6nU+oQF2gTDADq7x5GIeyqDxKEzn vsvKO5qxSBlLVBdhBgyfmldSndmapNh28Vrv5YerIi3vJ6W5sI5/Z/wSBTWn3GRG bdCxtRmY5BRrm8BM2C6QKJy5nh9TJfmKHG/uG+xCS3Jcgzu6soKGP2V4LS746yiG tcXpuGpO1T8YhYOiGB41HEf4st7HzXtBJCi+A4rIGUIc7IT/0ohXG0wS+thFXI6s la3iua2AbfPrNin8bDQdmJI/ICxASsQ21wrfE7qL3U+Em48/y4LQF5QArFM9VvxG TnSq865hbvVylZkRgqrtmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706660966; x= 1706747366; bh=BFFf+8TnMhddHsAOvMoXfjzvCzteJ9JBw70lxTSnncQ=; b=B /kuGniSWk3sGjT8erDcx3F6UMX12HTm6OYsDuNu6RiYvReImQwHxTrazDnlQFN0o cutzvreVcMW/iFz9KDE9cQlrqo2xJVncrzn5MVmcl6p1cDAi7voReHEu4KCKkel9 EFytVUgZCvwvWzjW25WddAHNUmkJn+VUuAuffyGIbG5m82kBibjJz1abdMGB+Cu0 B4bMl8dD/wJ+/WLln1fnxdk4EWcZRqbL4aB03QFwrAednYHgOH+vLii/Ul5/UDMZ JDfl8FQHVbccCLPAlE60Pybo+3cEwl41bhbPjxlUtSx8tKw3Dz9Hoi8OsHkYWvmV oRApBLiLXCJhNo7LX/PuQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtkedgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkfgggtgfgsehtqhertddtreejnecuhfhrohhmpeevlhor mhgvnhhtucfnrghsshhivghurhcuoegtlhgvmhgvnhhtsehlrghsshhivghurhdrohhrgh eqnecuggftrfgrthhtvghrnhepgeekheefffdtfeffueevkefgfffhtddugfdugeeugeev gfduteffudfgfefhjedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheptghlvghmvghntheslhgrshhsihgvuhhrrdhorhhg X-ME-Proxy: Feedback-ID: i4c21472a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 Jan 2024 19:29:24 -0500 (EST) From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur In-Reply-To: <0816d35e69610090994eb7da45715b4ee366d791.1706621200.git.carlo@zancanaro.id.au> (Carlo Zancanaro's message of "Tue, 30 Jan 2024 13:26:39 +0000") References: <0816d35e69610090994eb7da45715b4ee366d791.1706621200.git.carlo@zancanaro.id.au> Date: Wed, 31 Jan 2024 01:29:20 +0100 Message-ID: <8734uetkf3.fsf_-_@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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 X-Migadu-Spam-Score: -2.76 X-Spam-Score: -2.76 X-Migadu-Queue-Id: A3C2E240C2 X-Migadu-Scanner: mx12.migadu.com X-TUID: n0uuxU5vxfO8 I removed guix-devel, not sure we need to spam it. On Tue, Jan 30 2024, Carlo Zancanaro wrote: > +(define %default-deploy-hook > + (program-file > + "reload-nginx.scm" > + (with-imported-modules '((gnu services herd)) > + #~(begin > + (use-modules (gnu services herd)) > + (with-shepherd-action 'nginx ('reload) result result))))) > + > (define-record-type* > certificate-configuration make-certificate-configuration > certificate-configuration? > @@ -65,7 +74,7 @@ (define-record-type* > (cleanup-hook certificate-cleanup-hook > (default #f)) > (deploy-hook certificate-configuration-deploy-hook > - (default #f)) > + (default %default-deploy-hook)) > (start-self-signed? certificate-configuration-start-self-signed? > (default #t))) I'd reload within =E2=80=98certbot-deploy-hook=E2=80=99, between =E2=80=98r= ename-file=E2=80=99 and =E2=80=9C(if deploy-hook-script=E2=80=9D so that people don't get surprised, when they u= se a deploy-hook for unrelated reasons, that the nginx doesn't reload anymore. Plus, reloading nginx is harmless.