[Pkg-clamav-devel] Bug#1154993: clamav-freshclam-once systematically fails because /var/log/clamav/freshclam.log is already locked

pelzi at flying-snail.de pelzi at flying-snail.de
Thu Dec 3 09:18:37 GMT 2026


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.



More information about the Pkg-clamav-devel mailing list