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#61451 - [logwatch] /var/log/emptylog file is no more required

Attached to Project: Community Packages
Opened by AMM (amish) - Friday, 18 January 2019, 06:45 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 19 September 2019, 18:38 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 1
Private No

Details

Description:

Recently logwatch was updated with version 7.5.0

It also implemented distribution (Arch) specific files in dist.conf directory based on:
https://bbs.archlinux.org/viewtopic.php?id=227516

With this logwatch has out of box upport for systemd journal i.e. without needing rsyslogd or any other external tools.

The link above mentions about using an emptylog (/var/log/emptylog) to be supplied to logwatch. This file is now part of 7.5.0-1.

This was done because earlier versions of logwatch did not support /dev/null as LogFile.

However since version 7.5.0 supports /dev/null as LogFile

So instead of supplying:
LogFile =
LogFile = emptylog

We can simply change to:
LogFile =
LogFile = /dev/null

and do away with creating /var/log/emptylog

Note: First line "LogFile = " is needed to reset default settings.

Additional info:
* package version(s)
7.5.0-1

* config and/or log files etc.
/usr/share/logwatch/dist.conf/logfiles/*.conf
/var/log/emptylog

This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 19 September 2019, 18:38 GMT
Reason for closing:  Fixed
Comment by AMM (amish) - Thursday, 19 September 2019, 17:52 GMT
  • Field changed: Percent Complete (100% → 0%)
Fix is partial (and possibly broken). /var/log/emptylog file was removed from the package but in all files places in dist.conf directory, the lines "LogFile = emptylog" should be replaced with "LogFile = /dev/null". Which maintainer forgot to do. Please reopen the bug and do the needful. Thank you.

Loading...