From: dftxbs3e <dftxbs3e@free.fr>
To: 45153@debbugs.gnu.org
Subject: [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting.
Date: Thu, 10 Dec 2020 04:41:29 +0100 [thread overview]
Message-ID: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
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!
[-- Attachment #2: 0001-gnu-rottlog-Fix-mail-reporting.patch --]
[-- Type: text/x-patch, Size: 920 bytes --]
From 6aab4645706f9fe285c253142efe4e9fd40f2c3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9o=20Le=20Bouter?= <lle-bout@zaclys.net>
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
next reply other threads:[~2020-12-10 3:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 3:41 dftxbs3e [this message]
2020-12-11 17:57 ` [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting Ludovic Courtès
2020-12-12 8:46 ` [bug#45153] [PATCH v2] " John Doe
2020-12-12 20:25 ` Efraim Flashner
2020-12-12 20:49 ` dftxbs3e
2020-12-23 15:02 ` Ludovic Courtès
2020-12-23 15:19 ` Leo Le Bouter via Guix-patches via
2020-12-27 15:07 ` bug#45153: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr \
--to=dftxbs3e@free.fr \
--cc=45153@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.