Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_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#60959 - [clamav] logrotate config file kills clamav-milter

Attached to Project: Arch Linux
Opened by Filip (mezcal) - Monday, 03 December 2018, 11:27 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 01 January 2019, 17:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

Every logrotating kills clamav-milter daemon and doesn`t start it again.

In the file /etc/logrotate.d/clamav there is a line:
"/bin/kill -HUP `cat /run/clamav/clamav-milter.pid 2>/dev/null` 2> /dev/null || true"


To use clamav-milter I have created my own clamav-milter service file:
[Unit]
Description='ClamAV Milter'
After=clamav-daemon.service

[Service]
Type=forking
ExecStart=/usr/bin/clamav-milter --config-file /etc/clamav/clamav-milter.conf

[Install]
WantedBy=multi-user.target



Additional info:
package version: 0.100.2-2

This task depends upon

Comment by Thorsten (Thorsten) - Monday, 10 December 2018, 18:34 GMT
I had the same problem as [Filip] with the same clamav-milter.service.

I recommend to split /etc/logrotate.d/clamav logrotate config file into:
- /etc/logrotate.d/clamav
- /etc/logrotate.d/freshclam
- /etc/logrotate.d/clamav-milter

Content of files must be adapted.

Loading...