[Pkg-clamav-devel] Clamav-daemon systemd unit settings

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sun Nov 1 14:42:20 GMT 2020


On 2020-10-27 10:14:26 [+0100], m.eckardt at secmailpro.eu wrote:
> Hello,
Hi,

> when clamav-daemon is installed on debian 10.6, the systemd settings contain
> ExecStartPre=/bin/mkdir /var/run/clamav (this setting is found in
> /etc/systemd/system/clamav-daemon.service.d/extend.conf). Except for the
> first time clamav-daemon is started, this produces an error because
> /var/run/clamav exists. Why is mkdir not called with the -p switch like so?
> ExecStartPre=/bin/mkdir -p /run/clamav
> 
> I do not see any downside to this. Is there an official way to propose a
> change?

This change is already part of Sid/Unstable since January. It didn't
propagate to Buster/Stable. Let me add it to the things to do.

> Regards,
> 
> Milan

Sebastian



More information about the Pkg-clamav-devel mailing list