GNU bug report logs - #45153
[PATCH] gnu: rottlog: Fix mail reporting.

Previous Next

Package: guix-patches;

Reported by: dftxbs3e <dftxbs3e <at> free.fr>

Date: Thu, 10 Dec 2020 03:42:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: dftxbs3e <dftxbs3e <at> free.fr>
Subject: bug#45153: closed (Re: [bug#45153] [PATCH v2] gnu: rottlog: Fix
 mail reporting.)
Date: Sun, 27 Dec 2020 15:08:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45153: [PATCH] gnu: rottlog: Fix mail reporting.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45153 <at> debbugs.gnu.org.

-- 
45153: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45153
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Le Bouter <lle-bout <at> zaclys.net>
Cc: 45153-done <at> debbugs.gnu.org
Subject: Re: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting.
Date: Sun, 27 Dec 2020 16:07:50 +0100
Hi,

Leo Le Bouter <lle-bout <at> zaclys.net> skribis:

>> I thought this was a typo and then realized that our ‘sendmail’
>> package
>> is this broken, due to an incorrect use of ‘DESTDIR’.
>
> Ah! Well I did not notice that as something wrong outright but now that
> you say that yes I see the correct behavior :-)
>
>> The patch below is an attempt to fix that but some of the files are
>> silently not getting installed.  Anyone has ideas here?
>
> Will take a look!

Great.

>> Anyhow, can we instead use ‘mail’ from ‘mailutils’ instead?  (I
>> wrongfully mentioned Inetutils earlier, sorry for the confusion.)
>
> Is it going to be compatible? If so then I'll do it!

Yes, I think so, again provided there’s a mail setup on the machine.

I went ahead and made this change since it was a minor change compared
to the patch you had sent earlier.

Thanks!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: dftxbs3e <dftxbs3e <at> free.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: rottlog: Fix mail reporting.
Date: Thu, 10 Dec 2020 04:41:29 +0100
[Message part 4 (text/plain, inline)]
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!
[0001-gnu-rottlog-Fix-mail-reporting.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.