From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: bug#36510: confusing mcron logging Date: Fri, 5 Jul 2019 15:35:35 +0200 Message-ID: <90FD0C85-F140-420C-AD90-3C2776D8B8D0@vllmrt.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39627) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjOOh-0003kU-1b for bug-guix@gnu.org; Fri, 05 Jul 2019 09:37:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjOOc-0006oF-HS for bug-guix@gnu.org; Fri, 05 Jul 2019 09:37:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjOOc-0006mZ-92 for bug-guix@gnu.org; Fri, 05 Jul 2019 09:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjOOc-0001P9-3E for bug-guix@gnu.org; Fri, 05 Jul 2019 09:37:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:39183) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjONY-0002yh-U7 for bug-guix@gnu.org; Fri, 05 Jul 2019 09:35:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjONU-0001ja-Q1 for bug-guix@gnu.org; Fri, 05 Jul 2019 09:35:54 -0400 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]:9894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hjONT-00015G-MC for bug-guix@gnu.org; Fri, 05 Jul 2019 09:35:52 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 6F26E50984 for ; Fri, 5 Jul 2019 15:35:43 +0200 (CEST) Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id bd6eR5pnCBQG for ; Fri, 5 Jul 2019 15:35:36 +0200 (CEST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36510@debbugs.gnu.org I have two mcron jobs on my system, certbot renewal and a handwritten and currently buggy guile job. This is an excerpt from /var/log/mcron.log: >>>>> Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Cert not yet due for renewal Keeping the existing certificate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Certificate not yet due for renewal; no action taken. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Acquiring or renewing certificate: garp.vllmrt.net Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Cert not yet due for renewal Keeping the existing certificate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Certificate not yet due for renewal; no action taken. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Acquiring or renewing certificate: garp.vllmrt.net Backtrace: 9 (apply-smob/1 #) In ice-9/boot-9.scm: 829:9 8 (catch mcron-error # ?) In mcron/scripts/mcron.scm: 99:7 7 (_) In mcron/base.scm: 234:12 6 (_ #) In srfi/srfi-1.scm: 640:9 5 (for-each # (#< user: #(?>)) In mcron/base.scm: 186:10 4 (run-job #< user: #("root" "x" 0 0 "System adminis?>) In ice-9/eval.scm: 293:34 3 (_ #(#(#))) 182:19 2 (proc #(#(#))) 142:16 1 (compile-top-call _ (7 . get-string-all) ((10 (# . #) ?))) In unknown file: 0 (%resolve-variable (7 . get-string-all) #) ERROR: In procedure %resolve-variable: Unbound variable: get-string-all Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Cert not yet due for renewal Keeping the existing certificate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Certificate not yet due for renewal; no action taken. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Acquiring or renewing certificate: garp.vllmrt.net Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Cert not yet due for renewal Keeping the existing certificate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Certificate not yet due for renewal; no action taken. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - Acquiring or renewing certificate: garp.vllmrt.net <<<<< It=E2=80=99s impossible to tell what output is from which job; which = jobs succeeded or didn=E2=80=99t; when they ran. Suggestions: - mcron should log the timestamp and a job id of every job when it = starts - mcron should log the timestamp and status and job id of every job when = it finishes - job output should be prefixed by some job id