[Pkg-clamav-devel] Bug#750942: clamav-freshclam: Cron update setting creates logrotate mail spam

Matthew Gabeler-Lee cheetah at fastcat.org
Mon Jun 16 01:30:19 UTC 2014


On 06/14/2014 07:57 AM, Andreas Cadhalpun wrote:
> I modified freshclam's init script to only print a warning and exit
> with status code 0, if reload-log is called, but freshclam is set to
> update via cron, see [1].
>
> Can you confirm that this fixes your problem?
Confirmed.

The warning is issued to stdout, so the logrotate postrotate script's
">/dev/null" suppresses it.

Thank you for your help :)



More information about the Pkg-clamav-devel mailing list