Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#64214 - Logwatch missing /etc/cron.daily/0logwatch file

Attached to Project: Community Packages
Opened by Cătălin Frâncu (Catalin.Francu) - Tuesday, 22 October 2019, 10:30 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 12 November 2020, 20:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Logwatch used to send nightly emails out of the box. Apparently it did so via the file /etc/cron.daily/0logwatch. At least, this is what the wiki page says [1]. However, version 7.5.2-6 no longer sends out emails and the 0logwatch file is no longer in the package. It would be nice if the file was brought back or, as a workaround, if the wiki page was updated with the new setup required for nightly emails.

https://wiki.archlinux.org/index.php/Logwatch

Additional info:

[cata@voronet ~]$ pacman -Ss logwatch
community/logwatch 7.5.2-6 [installed]
Logwatch is a customizable log analysis system.

[cata@voronet ~]$ cat /etc/logwatch/conf/logwatch.conf
MailTo = my@email.address
Detail = Low
Subject = Logwatch for voronet

[cata@voronet ~]$ pacman -Ql logwatch | grep -i cron
logwatch /usr/share/logwatch/default.conf/logfiles/cron.conf
logwatch /usr/share/logwatch/default.conf/services/cron.conf
logwatch /usr/share/logwatch/dist.conf/logfiles/cron.conf
logwatch /usr/share/logwatch/scripts/logfiles/cron/
logwatch /usr/share/logwatch/scripts/logfiles/cron/applydate
logwatch /usr/share/logwatch/scripts/services/cron


Steps to reproduce:

1. Install logwatch.
2. As root, run logwatch manually without arguments to make sure it works.
3. As root, run logwatch --mailto your@email.address to make sure emails are going out.
4. Nightly emails never arrive.

Workaround:

As root, run crontab -e and add line like

40 3 * * * /usr/bin/logwatch --mailto your@email.address
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 12 November 2020, 20:47 GMT
Reason for closing:  Not a bug
Comment by Sergej Pupykin (sergej) - Tuesday, 22 October 2019, 12:00 GMT
https://bugs.archlinux.org/task/56357
Probably your workaround is the solution.

Loading...