GNU bug report logs - #56678
certbot mcron job fails

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludovic.courtes@HIDDEN>; merged with #62491; dated Thu, 21 Jul 2022 08:26:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 56678 62491. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 56678 <at> debbugs.gnu.org:


Received: (at 56678) by debbugs.gnu.org; 28 Mar 2023 21:23:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 17:23:17 2023
Received: from localhost ([127.0.0.1]:50806 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phGmi-00089f-JH
	for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 17:23:16 -0400
Received: from mail-qv1-f43.google.com ([209.85.219.43]:40850)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1phGmg-00089R-On
 for 56678 <at> debbugs.gnu.org; Tue, 28 Mar 2023 17:23:15 -0400
Received: by mail-qv1-f43.google.com with SMTP id qh28so10217345qvb.7
 for <56678 <at> debbugs.gnu.org>; Tue, 28 Mar 2023 14:23:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680038589;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=18h8MApPZdkN99l92G5buoBtsqRwPRGKQ316fyFaKjI=;
 b=Lush+/GPyEereQMILQvEjBukNKbwL+hUwNrTgPGrgiXuguaVWgCk2TWhisUgEpsspO
 FvezGI2dTA/Ho6OjjwJvUeIwH7Vn6eg+8KJckK4o6bq+ZfAmeqhTgIXBzl1St+sstZcJ
 Fx5eXMoV5vnWoPdXLUhUzdWcUJy15RZnHbCsKF9jkmzko7O8zB+LaYrY9cRdkpplSZpP
 EjqZZgVXMDXswfabzyNSkgUCSZHkx9gLDlcI8mFdbEFDsx3B8cWrg29FyXOF9Mz2y/ik
 0ki6MRe91b6i7NmHMb5uzFQAcxXnfjlBfiSQyiXU0pvjOlVIx00WBMH/n41LFxJm9bW5
 1BVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680038589;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=18h8MApPZdkN99l92G5buoBtsqRwPRGKQ316fyFaKjI=;
 b=BZ/UkWhBoCi8YK8VP4KDsT90Z8L5mQ61CeEwwwUgyPQYgQeZjajHCJyMaWLENI8kiy
 Ut4YWsM8KyA2Fk7WLGvo7b40ojESf+n5D4wWx86wf1WKqMyp+xy30Yed48mbrw2BHD1w
 iM5lxZRZkJtUc0fqADQGlN94jk7Yi6k56F0AkggR17kgog+AQsjRqAxDAxATpuz7GypY
 jX21gRFNmm08lVJ3ZTtFNTS8J9/vE9d6AhLHnVY3dkvMMdyMYK5Kuf14ti99VrmQvnmc
 0QxsRvnwT7YeAEKLnIIITLDccAUV0AELLh/LFSZ9nXeFzg39CvS4g64zRrjOavQubaH1
 J8dw==
X-Gm-Message-State: AAQBX9eIf2hTm9LPCkO5jcu8BcAyWeD/pSk0u/5y03aQiXu/gUthpg0p
 mnbF8MD0gu1XUFNEqmjY/Hxds9F0LZ4=
X-Google-Smtp-Source: AKy350ZUieGn4qHPL+MnJnz5SrhYTATb9gKhKrPBExmUmgPI8R0waztSYQk0xurPXIohMz8AwUdt0g==
X-Received: by 2002:a05:6214:c83:b0:5ba:8af3:5d58 with SMTP id
 r3-20020a0562140c8300b005ba8af35d58mr27777668qvr.36.1680038588820; 
 Tue, 28 Mar 2023 14:23:08 -0700 (PDT)
Received: from hurd (dsl-205-151-56-156.b2b2c.ca. [205.151.56.156])
 by smtp.gmail.com with ESMTPSA id
 nh12-20020a056214390c00b005dd8b9345cbsm4093004qvb.99.2023.03.28.14.23.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 28 Mar 2023 14:23:08 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN>
Subject: Re: bug#56678: certbot mcron job fails
References: <878romoos7.fsf@HIDDEN>
Date: Tue, 28 Mar 2023 17:23:06 -0400
In-Reply-To: <878romoos7.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?=
 =?utf-8?Q?'s?= message of "Thu, 21 Jul 2022 10:25:44 +0200")
Message-ID: <877cv08tad.fsf@HIDDEN>
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 56678
Cc: 56678 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Ludo,

Ludovic Court=C3=A8s <ludovic.courtes@HIDDEN> writes:

> Hello,
>
> =E2=80=98certbot-service-type=E2=80=99 defines an mcron job that invokes =
=E2=80=98certbot=E2=80=99 with
> a fairly long list of arguments.  However, that command line appears
> to be incorrect, or at least it is on bayfront.guix where I tested it:
>
> ludo@bayfront ~/src/maintenance/hydra$ sudo herd schedule mcron 100|grep =
-B1 certbot
> Thu Jul 21 12:51:00 2022 +0200
> /gnu/store/r8hx1sdy3hkw9xpgsb92lh1kjs558876-certbot-command
> --
> Fri Jul 22 00:45:00 2022 +0200
> /gnu/store/r8hx1sdy3hkw9xpgsb92lh1kjs558876-certbot-command
> --
> Fri Jul 22 12:36:00 2022 +0200
> /gnu/store/r8hx1sdy3hkw9xpgsb92lh1kjs558876-certbot-command
> ludo@bayfront ~/src/maintenance/hydra$ ls -l /gnu/store/r8hx1sdy3hkw9xpgs=
b92lh1kjs558876-certbot-command
> -r-xr-xr-x 1 root root 789 Jan  1  1970 /gnu/store/r8hx1sdy3hkw9xpgsb92lh=
1kjs558876-certbot-command
> ludo@bayfront ~/src/maintenance/hydra$ sudo less /gnu/store/r8hx1sdy3hkw9=
xpgsb92lh1kjs558876-certbot-command
> #!/gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/bin/guile --no-=
auto-compile
> !#
> (begin (use-modules (ice-9 match)) (let ((code 0)) (for-each (match-lambd=
a ((name . command) (begin (format #t "Acquiring or renewing certificate: ~=
a~%" name) (set! code (or (apply system* command) code))))) (quote (("bayfr=
ont.guix.gnu.org" "/gnu/store/y2n10m4qkyb6vgx980c6jkjd132ln8xx-certbot-1.18=
.0/bin/certbot" "certonly" "-n" "--agree-tos" "--webroot" "-w" "/var/www" "=
--cert-name" "bayfront.guix.gnu.org" "-d" "bayfront.guix.gnu.org,bordeaux.g=
uix.gnu.org,logs.guix.gnu.org,bayfront.guix.info,hpc.guix.info,guix-hpc.bor=
deaux.inria.fr,coordinator.bayfront.guix.gnu.org" "--email" "ludovic.courte=
s@HIDDEN" "--deploy-hook" "/gnu/store/1wj7gy7n8r0nfx2i79afpr7n7xyhyzjx-ng=
inx-deploy-hook")))) code))
> ludo@bayfront ~/src/maintenance/hydra$ sudo su -c /gnu/store/r8hx1sdy3hkw=
9xpgsb92lh1kjs558876-certbot-command
> Acquiring or renewing certificate: bayfront.guix.gnu.org
> Saving debug log to /var/log/letsencrypt/letsencrypt.log
> Missing command line flag or config entry for this setting:
> Please choose an account
> Choices: ['guix-hpc.bordeaux.inria.fr@2017-09-04T08:51:13Z (48c5)', 'loca=
lhost@2016-12-03T21:08:38Z (00bc)']
> Ask for help or search for solutions at https://community.letsencrypt.org=
. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot wi=
th -v for more details.
>
> What should we do about =E2=80=9CPlease choose an account=E2=80=9D?

Apologies for not seeing this one before opening #62491  I guess they
are the same?  If so, let's merge the reports.

--=20
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#56678; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Jul 2022 08:25:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 21 04:25:57 2022
Received: from localhost ([127.0.0.1]:36663 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oERVN-0008Pa-26
	for submit <at> debbugs.gnu.org; Thu, 21 Jul 2022 04:25:57 -0400
Received: from lists.gnu.org ([209.51.188.17]:42138)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1oERVH-0008PB-CC
 for submit <at> debbugs.gnu.org; Thu, 21 Jul 2022 04:25:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43896)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1oERVG-0002mC-Uo
 for bug-guix@HIDDEN; Thu, 21 Jul 2022 04:25:51 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:25571)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1oERVE-00064K-Mc
 for bug-guix@HIDDEN; Thu, 21 Jul 2022 04:25:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=from:to:subject:date:message-id:mime-version:
 content-transfer-encoding;
 bh=VgdQ0/DromVhUemMpdW44DPwIOJ4Jgw0ZejgGPT0aik=;
 b=DZuS21ynR4D1O3jdl83riOygrHbau0QAXLlj5ogm+7/KdvDo8LiTC5x6
 fjjqMsNn8uj87UwnvmN0SNb3jfq+R0Gq7IR/xcxBC5qOKnWldqpOVaBTU
 XSZdWCEtQ5QOGVPnJHBUs+kW1OQPFsOOtuFXmn4r6BiGzjeHJ1e7bBmS6 Q=;
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="5.92,289,1650924000"; d="scan'208";a="46381484"
Received: from unknown (HELO ribbon) ([193.50.110.163])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 10:25:44 +0200
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: bug-guix@HIDDEN
Subject: certbot mcron job fails
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Tridi 3 Thermidor an 230 de la =?utf-8?Q?R=C3=A9volu?=
 =?utf-8?Q?tion=2C?= jour du Melon
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 21 Jul 2022 10:25:44 +0200
Message-ID: <878romoos7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=192.134.164.83;
 envelope-from=ludovic.courtes@HIDDEN;
 helo=mail2-relais-roc.national.inria.fr
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello,

=E2=80=98certbot-service-type=E2=80=99 defines an mcron job that invokes =
=E2=80=98certbot=E2=80=99 with
a fairly long list of arguments.  However, that command line appears
to be incorrect, or at least it is on bayfront.guix where I tested it:

--8<---------------cut here---------------start------------->8---
ludo@bayfront ~/src/maintenance/hydra$ sudo herd schedule mcron 100|grep -B=
1 certbot
Thu Jul 21 12:51:00 2022 +0200
/gnu/store/r8hx1sdy3hkw9xpgsb92lh1kjs558876-certbot-command
--
Fri Jul 22 00:45:00 2022 +0200
/gnu/store/r8hx1sdy3hkw9xpgsb92lh1kjs558876-certbot-command
--
Fri Jul 22 12:36:00 2022 +0200
/gnu/store/r8hx1sdy3hkw9xpgsb92lh1kjs558876-certbot-command
ludo@bayfront ~/src/maintenance/hydra$ ls -l /gnu/store/r8hx1sdy3hkw9xpgsb9=
2lh1kjs558876-certbot-command
-r-xr-xr-x 1 root root 789 Jan  1  1970 /gnu/store/r8hx1sdy3hkw9xpgsb92lh1k=
js558876-certbot-command
ludo@bayfront ~/src/maintenance/hydra$ sudo less /gnu/store/r8hx1sdy3hkw9xp=
gsb92lh1kjs558876-certbot-command
#!/gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/bin/guile --no-au=
to-compile
!#
(begin (use-modules (ice-9 match)) (let ((code 0)) (for-each (match-lambda =
((name . command) (begin (format #t "Acquiring or renewing certificate: ~a~=
%" name) (set! code (or (apply system* command) code))))) (quote (("bayfron=
t.guix.gnu.org" "/gnu/store/y2n10m4qkyb6vgx980c6jkjd132ln8xx-certbot-1.18.0=
/bin/certbot" "certonly" "-n" "--agree-tos" "--webroot" "-w" "/var/www" "--=
cert-name" "bayfront.guix.gnu.org" "-d" "bayfront.guix.gnu.org,bordeaux.gui=
x.gnu.org,logs.guix.gnu.org,bayfront.guix.info,hpc.guix.info,guix-hpc.borde=
aux.inria.fr,coordinator.bayfront.guix.gnu.org" "--email" "ludovic.courtes@=
inria.fr" "--deploy-hook" "/gnu/store/1wj7gy7n8r0nfx2i79afpr7n7xyhyzjx-ngin=
x-deploy-hook")))) code))
ludo@bayfront ~/src/maintenance/hydra$ sudo su -c /gnu/store/r8hx1sdy3hkw9x=
pgsb92lh1kjs558876-certbot-command
Acquiring or renewing certificate: bayfront.guix.gnu.org
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Missing command line flag or config entry for this setting:
Please choose an account
Choices: ['guix-hpc.bordeaux.inria.fr@2017-09-04T08:51:13Z (48c5)', 'localh=
ost@2016-12-03T21:08:38Z (00bc)']
Ask for help or search for solutions at https://community.letsencrypt.org. =
See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with=
 -v for more details.
--8<---------------cut here---------------end--------------->8---

What should we do about =E2=80=9CPlease choose an account=E2=80=9D?

Thanks,
Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludovic.courtes@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#56678; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 29 Mar 2023 00:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.