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 Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Opened by Filip (mezcal) - Monday, 03 December 2018, 11:27 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
|
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
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/clamav/issues/2
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/clamav/issues/2
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.