all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting.
@ 2020-12-10  3:41 dftxbs3e
  2020-12-11 17:57 ` Ludovic Courtès
  2020-12-12  8:46 ` [bug#45153] [PATCH v2] " John Doe
  0 siblings, 2 replies; 8+ messages in thread
From: dftxbs3e @ 2020-12-10  3:41 UTC (permalink / raw)
  To: 45153

[-- 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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-27 15:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10  3:41 [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting dftxbs3e
2020-12-11 17:57 ` 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

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.