I believe the proper fix is to remove clamav-freshclam.service, as it is obsolete: alongside of clamav-freshclam-once.service, clamav-freshclam-once.timer is installed, triggering repeated execution of the freshclam serivce, which does regularly fail if clamav-freshclam.service is running.

In fact, clamav-freshclam.service is not intended to run, but the inhibiting condition "ConditionPathExists=!/etc/cron.d/clamav-freshclam" is checking for the old style cron invocation only, and fails to deactivate on the presence of the timer.

So I guess, running freshclam as a daemon has ever only been a fallback for systems without cron. This fallback seems no longer necessary, as only systemd is required.

Andreas.

Reply via email to