FS#36249 - [clamav] Logrotate don't allow passive journald config

Attached to Project: Arch Linux
Opened by Sébastien Luttringer (seblu) - Monday, 22 July 2013, 22:14 GMT
Last edited by Gaetan Bisson (vesath) - Tuesday, 23 July 2013, 03:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I receive a cron mail everyday, from /etc/cron.daily/logrotate, with the following lines:
error: stat of /var/log/clamav/clamd.log failed: No such file or directory
error: stat of /var/log/clamav/freshclam.log failed: No such file or directory

This happens because clamav is configured to use syslog (journald) instead of his files.

To fix this I suggest to add in /etc/logrotate.d/clamav
missingok
notifempty

I also suggest to add /etc/logrotate.d/clamav in the $backup array in PKGBUILD.

Cheers,
This task depends upon

Closed by  Gaetan Bisson (vesath)
Tuesday, 23 July 2013, 03:28 GMT
Reason for closing:  Implemented
Additional comments about closing:  clamav-0.97.8-3 in [extra]
Comment by Gaetan Bisson (vesath) - Tuesday, 23 July 2013, 03:14 GMT
Sounds good.

Loading...