Received: (at 62163) by debbugs.gnu.org; 30 Mar 2023 11:21:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 07:21:30 2023 Received: from localhost ([127.0.0.1]:55921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1phqLS-0006rN-CY for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 07:21:30 -0400 Received: from smtpm1.myservices.hosting ([185.26.105.232]:47854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mirai@HIDDEN>) id 1phqLR-0006rG-2V for 62163 <at> debbugs.gnu.org; Thu, 30 Mar 2023 07:21:29 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm1.myservices.hosting (Postfix) with ESMTP id 89C1520520; Thu, 30 Mar 2023 13:21:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 3E83A8009E; Thu, 30 Mar 2023 13:21:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aG9dtIINym9Z; Thu, 30 Mar 2023 13:21:26 +0200 (CEST) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@HIDDEN) by mail1.netim.hosting (Postfix) with ESMTPSA id A93A28009B; Thu, 30 Mar 2023 13:21:26 +0200 (CEST) Message-ID: <e71b366d-9002-ff25-623a-5fac660b9481@HIDDEN> Date: Thu, 30 Mar 2023 12:21:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: bug#62163: Suppress logging shepherd evaluation in mcron.log Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= <ludo@HIDDEN> References: <31d1f072-0276-6fa5-0adf-6c18177d4d01@HIDDEN> <87ileq1gqo.fsf@HIDDEN> <875yakg7w2.fsf@HIDDEN> <8164fa63-99bd-f1d5-2f21-628f079c6039@HIDDEN> <87y1neo7wz.fsf@HIDDEN> From: Bruno Victal <mirai@HIDDEN> In-Reply-To: <87y1neo7wz.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 62163 Cc: 62163 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN> 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.1 (--) On 2023-03-30 11:22, Ludovic Courtès wrote: > Hi, > > Bruno Victal <mirai@HIDDEN> skribis: > >> On 2023-03-28 17:25, Ludovic Courtès wrote: >>> >>> Nope. :-) What is ‘my-heartbeat-job’ doing? >> >> It queries shepherd to see if a service is running and sends a restart if required. > > Isn’t that what #:respawn? #t is supposed to do? :-) > > If you find that #:respawn? doesn’t work, then we should fix it. Oh, I should have explained better here. Re-spawn works, it's the (daemon) service that might misbehave/go unresponsive without crashing, i.e. HTTP backend stops responding to API requests but the server is still up. The job performs a "health-check" and restarts it if it doesn't get the appropriate response. A concrete situation where this could be of use is for logs.guix that occasionally stops recording. > > You can send messages to the bitbucket with: > > (parameterize ((shepherd-message-port (%make-void-port "w0"))) > …) Thanks! I'm still curious as to exactly what/which lines cause shepherd to output the lines. Cheers, Bruno
bug-guix@HIDDEN
:bug#62163
; Package guix
.
Full text available.Received: (at 62163) by debbugs.gnu.org; 30 Mar 2023 10:22:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 06:22:48 2023 Received: from localhost ([127.0.0.1]:55824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1phpQd-00051r-Pu for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 06:22:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1phpQc-00051e-GT for 62163 <at> debbugs.gnu.org; Thu, 30 Mar 2023 06:22:47 -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 <ludo@HIDDEN>) id 1phpQW-00021h-6o; Thu, 30 Mar 2023 06:22:40 -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=5RaMglJwNOBvTeIwXL+Rq6RnzVKYGprfEm1ROydRWhw=; b=hXqWddMEMlSdtG5dd1m5 VFo9vokh6vrezkVDqoUE5mbvQKX1gOGRnbqOjmiBL//v5rFVumyHM7ebQMIOy0+gkP1xZW0m3DTY9 g3IcS1vS1PPX1ElUtnh7Zj4y2cOsIEuE11QHM6y8w1cQJYBZCRSmu/c8nxm3z3XQltYjbSJ+FJ6lf LMuz9XenaDnsRMtvU90yMSns2NEqbl/pjv2M0nHTrjA4srhOc7iIb+oS4+KQ+zLuPzFUUOIPeZ1Xw x7gcKp+KZ41Y5zIy8pHhsglhD9DZi+RsQyDH9NwXOXsJ9eAe/0hL5nkAyfsqYM6zidILIdUB32V/d PKYkB1jn69cpjQ==; Received: from nat-wifi-eduroam.reseau.univ-paris13.fr ([81.194.43.244] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1phpQV-0000zI-8K; Thu, 30 Mar 2023 06:22:39 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Bruno Victal <mirai@HIDDEN> Subject: Re: bug#62163: Suppress logging shepherd evaluation in mcron.log References: <31d1f072-0276-6fa5-0adf-6c18177d4d01@HIDDEN> <87ileq1gqo.fsf@HIDDEN> <875yakg7w2.fsf@HIDDEN> <8164fa63-99bd-f1d5-2f21-628f079c6039@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 10 Germinal an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Couvoir 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, 30 Mar 2023 12:22:36 +0200 In-Reply-To: <8164fa63-99bd-f1d5-2f21-628f079c6039@HIDDEN> (Bruno Victal's message of "Tue, 28 Mar 2023 17:32:14 +0100") Message-ID: <87y1neo7wz.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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Bruno Victal <mirai@HIDDEN> skribis: > On 2023-03-28 17:25, Ludovic Courtès wrote: >> >> Nope. :-) What is ‘my-heartbeat-job’ doing? > > It queries shepherd to see if a service is running and sends a restart if required. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [81.194.43.244 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.92 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 62163 Cc: 62163 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN> 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: 0.3 (/) Hi, Bruno Victal <mirai@HIDDEN> skribis: > On 2023-03-28 17:25, Ludovic Court=C3=A8s wrote: >>=20 >> Nope. :-) What is =E2=80=98my-heartbeat-job=E2=80=99 doing? > > It queries shepherd to see if a service is running and sends a restart if= required. Isn=E2=80=99t that what #:respawn? #t is supposed to do? :-) If you find that #:respawn? doesn=E2=80=99t work, then we should fix it. > (define* (heartbeat-supervisor #:key (name #f) service task > #:allow-other-keys) > ;; Query service status and restart if needed. > (program-file > (format #f "~@[~a-~]heartbeat-supervisor.scm" name) > (with-imported-modules (source-module-closure > '((gnu services herd))) > #~(begin > (use-modules (gnu services herd) > (srfi srfi-1)) > > (define (is-service-running? sym) > (lambda (x) > (and (live-service-running x) > (memq sym (live-service-provision x))))) > > (let ((running? (not (null? > (any (is-service-running? '#$service) > (current-services)))))) You can send messages to the bitbucket with: (parameterize ((shepherd-message-port (%make-void-port "w0"))) =E2=80=A6) HTH, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#62163
; Package guix
.
Full text available.Received: (at 62163) by debbugs.gnu.org; 28 Mar 2023 16:49:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 12:49:36 2023 Received: from localhost ([127.0.0.1]:50597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1phCVr-0006YD-SN for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 12:49:36 -0400 Received: from smtpmciv4.myservices.hosting ([185.26.107.240]:54996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mirai@HIDDEN>) id 1phCVp-0006Y2-Ud for 62163 <at> debbugs.gnu.org; Tue, 28 Mar 2023 12:49:34 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv4.myservices.hosting (Postfix) with ESMTP id 905D4204E3; Tue, 28 Mar 2023 18:49:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 0B966800A4; Tue, 28 Mar 2023 18:32:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fYNAtPXjIpIu; Tue, 28 Mar 2023 18:32:18 +0200 (CEST) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@HIDDEN) by mail1.netim.hosting (Postfix) with ESMTPSA id 7CDB7800A1; Tue, 28 Mar 2023 18:32:18 +0200 (CEST) Message-ID: <8164fa63-99bd-f1d5-2f21-628f079c6039@HIDDEN> Date: Tue, 28 Mar 2023 17:32:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: bug#62163: Suppress logging shepherd evaluation in mcron.log Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= <ludo@HIDDEN> References: <31d1f072-0276-6fa5-0adf-6c18177d4d01@HIDDEN> <87ileq1gqo.fsf@HIDDEN> <875yakg7w2.fsf@HIDDEN> From: Bruno Victal <mirai@HIDDEN> In-Reply-To: <875yakg7w2.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 62163 Cc: 62163 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN> 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.1 (--) Hi Ludo’, On 2023-03-28 17:25, Ludovic Courtès wrote: > > Nope. :-) What is ‘my-heartbeat-job’ doing? It queries shepherd to see if a service is running and sends a restart if required. It looks like this: (#$task is what will perform the actual checks) --8<---------------cut here---------------start------------->8--- (define* (heartbeat-supervisor #:key (name #f) service task #:allow-other-keys) ;; Query service status and restart if needed. (program-file (format #f "~@[~a-~]heartbeat-supervisor.scm" name) (with-imported-modules (source-module-closure '((gnu services herd))) #~(begin (use-modules (gnu services herd) (srfi srfi-1)) (define (is-service-running? sym) (lambda (x) (and (live-service-running x) (memq sym (live-service-provision x))))) (let ((running? (not (null? (any (is-service-running? '#$service) (current-services)))))) (when running? (case (status:exit-val (system* #$task)) ((0) #t) ((125) (format #t "Heartbeat worker error~%")) (else (format #t "Issuing restart for service '~a'~%" '#$service) (restart-service '#$service))))) (exit))))) --8<---------------cut here---------------end--------------->8--- This message also shows up if you're using certbot-service-type, so it's not specific to the snippet above. Cheers, Bruno
bug-guix@HIDDEN
:bug#62163
; Package guix
.
Full text available.Received: (at 62163) by debbugs.gnu.org; 28 Mar 2023 16:26:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 12:26:02 2023 Received: from localhost ([127.0.0.1]:50578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1phC93-0005th-To for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 12:26:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1phC91-0005tP-J6 for 62163 <at> debbugs.gnu.org; Tue, 28 Mar 2023 12:26:00 -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 <ludo@HIDDEN>) id 1phC8v-00015u-D3; Tue, 28 Mar 2023 12:25:53 -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=HWYJZ9JItdHtf3tBX0cud+dnFrARSJx8gM4XHgEC7I0=; b=RdZ+iv36EVVTZt031Cht x+ux1hIbEGllL7tOWtmcFLnM8m5lFJDEuoaBtPcZTPPyZfJUFiqlsY6PQgQ8FkZtRWVUj63wEGEsn umpM0ZXpJveahQ8/XYDyBTYrTlUld9VFDwh139WKqHMYeC5mF7bvMkAVHKs1trRD6ptvUd/RVuVwG 4PRrGYla7TzT6v9t+QC4ppN4nOhEu3LSDEzIH8Pxe1ck4d5u5mAvbOEWMATeyENxhN2MuEiU/TK4j e3hAUGurqafmAHvUjhaVf3LsP3dPzsM3qG2EWnXWhwcztnhsKkWkl9G17nQ2JApDbgM6tukfd9XRC AM90NUuyd3/Pog==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1phC8t-0000ts-Ce; Tue, 28 Mar 2023 12:25:53 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Subject: Re: bug#62163: Suppress logging shepherd evaluation in mcron.log References: <31d1f072-0276-6fa5-0adf-6c18177d4d01@HIDDEN> <87ileq1gqo.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 8 Germinal an 231 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour de la Jonquille 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: Tue, 28 Mar 2023 18:25:49 +0200 In-Reply-To: <87ileq1gqo.fsf@HIDDEN> (Maxim Cournoyer's message of "Fri, 24 Mar 2023 08:22:23 -0400") Message-ID: <875yakg7w2.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: -2.3 (--) X-Debbugs-Envelope-To: 62163 Cc: 62163 <at> debbugs.gnu.org, Bruno Victal <mirai@HIDDEN> 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: -3.3 (---) Hi, Maxim Cournoyer <maxim.cournoyer@HIDDEN> skribis: > Bruno Victal <mirai@HIDDEN> writes: > >> Upon mcron job completion, /var/log/mcron.log is spammed with: >> =E2=80=9Cshepherd: Evaluating user expression (and (defined? (quote tran= sient?)) (map (# ?) ?))=E2=80=9D >> >> These shepherd lines should be suppressible. >> >> >> /var/log/mcron.log snippet: >> >> 2023-03-13 16:52:00 243 my-heartbeat-job job: running... >> 2023-03-13 16:52:00 243 my-heartbeat-job job: Healthcheck: OK >> 2023-03-13 16:52:00 243 my-heartbeat-job job: shepherd: Evaluating user = expression (and (defined? (quote transient?)) (map (# ?) ?)). >> 2023-03-13 16:52:00 243 my-heartbeat-job job: completed in 0.087s >> > > I think this was already fixed in Shepherd on its master branch. Ludo, > could you please confirm? Nope. :-) What is =E2=80=98my-heartbeat-job=E2=80=99 doing? The =E2=80=9CEvaluating=E2=80=A6=E2=80=9D message occurs when using the =E2= =80=98eval=E2=80=99 action of the =E2=80=98root=E2=80=99 service, as in =E2=80=9Cherd eval root '(+ 2 2)'=E2= =80=9D. Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#62163
; Package guix
.
Full text available.Received: (at 62163) by debbugs.gnu.org; 24 Mar 2023 16:36:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 24 12:36:21 2023 Received: from localhost ([127.0.0.1]:41262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pfkOr-0006iq-5W for submit <at> debbugs.gnu.org; Fri, 24 Mar 2023 12:36:21 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:34466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1pfkOn-0006ia-Tu for 62163 <at> debbugs.gnu.org; Fri, 24 Mar 2023 12:36:19 -0400 Received: by mail-qt1-f170.google.com with SMTP id bz27so1988431qtb.1 for <62163 <at> debbugs.gnu.org>; Fri, 24 Mar 2023 09:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679675772; 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=SDEB1m+6P48tp2eSknADYxQjXz7+ROSo4IbJ67A8a+8=; b=XWXmfIRArGavgII2nVqgerLyaVSBmIwKcdQ+Pct+ZcymE+V7YnWAQetXdPWwGw9VzR ighRkKoA12iYlWYhUPQG7urIhm14ByA2x3afbPSRP2mtn+fLyfGZA71W5W0iIfRZbcz2 eHmNeTb5HEWcbGAmG+KVjfWPO8WTr3bR9X7vvF6TorlAIevJLxZIoAAoAqCpouv2S0xM H8QL50WL4VugPTPKKzouAeQiVjkO2S5+OrKEeeo20M5vAX9KXytKc11xGT/L73+gaqhB 7PmYAf5IJb2oGOHNmsQnNHeWzlaGqOn5uoXo9Cx6lRu6RS243zfnQqKfphHj2zMBesDt AMaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679675772; 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=SDEB1m+6P48tp2eSknADYxQjXz7+ROSo4IbJ67A8a+8=; b=dHXwH5HncsFF+3L7Ga95bO4Qu1qOnK4GfeNYgauGCXS/BknWJ5x1Hgoej7xhNhmMV6 Z/+buldAL3IriZ0hqwXnwZJavrG8YQvIlHzI654mA2l5CdzeDURH/q94XW631HNShtKl SOJnZ8ZYdjIdH77dgpWjfhM08RO8G4Wd3OIY16W8ZHDpJAokjIGnqTo9meKV71H6Jsp8 bAYI8a1qhARyGqEk5TS8E2GRoIWQgdEHNbD6VFGrKW/XFJY2/a/ipOMpazoVaMcmsSQu dcyoa/hOg6vLCu5veaUaFChzJIsNrLmYZK8Z3qPLyT48eSOU9KN7J+Vmu/IlNZjCn1R8 8tLQ== X-Gm-Message-State: AO0yUKV2c/0fqfqqDZUAkvh/uQQL4IVGYoAIrPrPm+A5U9snERWcPMPM R/8NHQIjkatxMz+iryp/0DrNCE1C3+5muw== X-Google-Smtp-Source: AKy350af+A8j8gMLZiDrzw06oTrKcIZzZgTKvKa4ZBTRm6jcW/Hqs2GufYa/SO63+WmzDKCLwHNbUQ== X-Received: by 2002:ac8:5c14:0:b0:3e4:d887:3e83 with SMTP id i20-20020ac85c14000000b003e4d8873e83mr540068qti.12.1679660544743; Fri, 24 Mar 2023 05:22:24 -0700 (PDT) Received: from hurd (dsl-155-54.b2b2c.ca. [66.158.155.54]) by smtp.gmail.com with ESMTPSA id t8-20020ac87388000000b003defe5ab4aesm9561006qtp.94.2023.03.24.05.22.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 05:22:24 -0700 (PDT) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> To: Bruno Victal <mirai@HIDDEN> Subject: Re: bug#62163: Suppress logging shepherd evaluation in mcron.log References: <31d1f072-0276-6fa5-0adf-6c18177d4d01@HIDDEN> Date: Fri, 24 Mar 2023 08:22:23 -0400 In-Reply-To: <31d1f072-0276-6fa5-0adf-6c18177d4d01@HIDDEN> (Bruno Victal's message of "Mon, 13 Mar 2023 15:59:10 +0000") Message-ID: <87ileq1gqo.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: 62163 Cc: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>, 62163 <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, Bruno Victal <mirai@HIDDEN> writes: > Upon mcron job completion, /var/log/mcron.log is spammed with: > =E2=80=9Cshepherd: Evaluating user expression (and (defined? (quote trans= ient?)) (map (# ?) ?))=E2=80=9D > > These shepherd lines should be suppressible. > > > /var/log/mcron.log snippet: > > 2023-03-13 16:52:00 243 my-heartbeat-job job: running... > 2023-03-13 16:52:00 243 my-heartbeat-job job: Healthcheck: OK > 2023-03-13 16:52:00 243 my-heartbeat-job job: shepherd: Evaluating user e= xpression (and (defined? (quote transient?)) (map (# ?) ?)). > 2023-03-13 16:52:00 243 my-heartbeat-job job: completed in 0.087s > I think this was already fixed in Shepherd on its master branch. Ludo, could you please confirm? --=20 Thanks, Maxim
bug-guix@HIDDEN
:bug#62163
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 13 Mar 2023 15:59:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 13 11:59:46 2023 Received: from localhost ([127.0.0.1]:35478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pbkaP-0003g5-LY for submit <at> debbugs.gnu.org; Mon, 13 Mar 2023 11:59:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:33422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mirai@HIDDEN>) id 1pbkaN-0003fv-KU for submit <at> debbugs.gnu.org; Mon, 13 Mar 2023 11:59:43 -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 <mirai@HIDDEN>) id 1pbkaH-0006GU-Ps for bug-guix@HIDDEN; Mon, 13 Mar 2023 11:59:38 -0400 Received: from smtpm1.myservices.hosting ([185.26.105.232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mirai@HIDDEN>) id 1pbkaG-0008TW-78 for bug-guix@HIDDEN; Mon, 13 Mar 2023 11:59:37 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm1.myservices.hosting (Postfix) with ESMTP id 370EB2094E for <bug-guix@HIDDEN>; Mon, 13 Mar 2023 16:59:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id E2900800A4; Mon, 13 Mar 2023 16:59:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SXQiJJ_mGhw9; Mon, 13 Mar 2023 16:59:21 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@HIDDEN) by mail1.netim.hosting (Postfix) with ESMTPSA id 834228009D; Mon, 13 Mar 2023 16:59:21 +0100 (CET) Message-ID: <31d1f072-0276-6fa5-0adf-6c18177d4d01@HIDDEN> Date: Mon, 13 Mar 2023 15:59:10 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 X-Mozilla-News-Host: news://news.yhetil.org:119 Content-Language: en-US To: bug-guix <bug-guix@HIDDEN> From: Bruno Victal <mirai@HIDDEN> Subject: Suppress logging shepherd evaluation in mcron.log Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.232; envelope-from=mirai@HIDDEN; helo=smtpm1.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: mirai <mirai@HIDDEN> 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 (--) Upon mcron job completion, /var/log/mcron.log is spammed with: “shepherd: Evaluating user expression (and (defined? (quote transient?)) (map (# ?) ?))” These shepherd lines should be suppressible. /var/log/mcron.log snippet: --8<---------------cut here---------------start------------->8--- 2023-03-13 16:52:00 243 my-heartbeat-job job: running... 2023-03-13 16:52:00 243 my-heartbeat-job job: Healthcheck: OK 2023-03-13 16:52:00 243 my-heartbeat-job job: shepherd: Evaluating user expression (and (defined? (quote transient?)) (map (# ?) ?)). 2023-03-13 16:52:00 243 my-heartbeat-job job: completed in 0.087s --8<---------------cut here---------------end--------------->8---
Bruno Victal <mirai@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#62163
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.