From patchwork Thu Dec 10 03:41:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dftxbs3e X-Patchwork-Id: 25681 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2BCB927BC03; Thu, 10 Dec 2020 03:51:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B6E5327BC02 for ; Thu, 10 Dec 2020 03:51:22 +0000 (GMT) Received: from localhost ([::1]:55936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knCzB-0005uV-Qn for patchwork@mira.cbaines.net; Wed, 09 Dec 2020 22:51:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCqA-0001Zs-Ip for guix-patches@gnu.org; Wed, 09 Dec 2020 22:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knCqA-0004sH-9M for guix-patches@gnu.org; Wed, 09 Dec 2020 22:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knCqA-0003cS-81 for guix-patches@gnu.org; Wed, 09 Dec 2020 22:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting. Resent-From: dftxbs3e Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Dec 2020 03:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45153@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160757169913877 (code B ref -1); Thu, 10 Dec 2020 03:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2020 03:41:39 +0000 Received: from localhost ([127.0.0.1]:36631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCpm-0003bl-Mx for submit@debbugs.gnu.org; Wed, 09 Dec 2020 22:41:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:39756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCpk-0003bd-Pl for submit@debbugs.gnu.org; Wed, 09 Dec 2020 22:41:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCpk-0001DU-DA for guix-patches@gnu.org; Wed, 09 Dec 2020 22:41:36 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:27898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCpi-0004kL-8n for guix-patches@gnu.org; Wed, 09 Dec 2020 22:41:35 -0500 Received: from [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6] (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 88849200390 for ; Thu, 10 Dec 2020 04:41:29 +0100 (CET) Message-ID: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> From: dftxbs3e Date: Thu, 10 Dec 2020 04:41:29 +0100 User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: none client-ip=212.27.42.2; envelope-from=dftxbs3e@free.fr; helo=smtp2-g21.free.fr X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.341, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1.976 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello! I was getting errors like this in my GNU Guix System installation: # cat /var/log/mcron.log /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found I am guessing this means sendmail needs to be added as propagated- inputs to ensure it is available to rottlog at runtime. Attached patch with these changes! Thank you! From 6aab4645706f9fe285c253142efe4e9fd40f2c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Le=20Bouter?= Date: Thu, 10 Dec 2020 04:35:38 +0100 Subject: [PATCH] gnu: rottlog: Fix mail reporting. * gnu/packages/admin.scm (rottlog): [propagated-inputs]: Add sendmail. --- gnu/packages/admin.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9df14b5ca0..5c22d40d1d 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1385,6 +1385,7 @@ at once based on a Perl regular expression.") ("automake" ,automake) ("util-linux" ,util-linux))) ; for 'cal' (inputs `(("coreutils*" ,coreutils))) + (propagated-inputs `(("sendmail" ,sendmail))) (home-page "https://www.gnu.org/software/rottlog/") (synopsis "Log rotation and management") (description -- 2.29.2