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

m.eckardt at secmailpro.eu m.eckardt at secmailpro.eu
Tue Oct 27 09:14:26 GMT 2020


Hello,

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?

Regards,

Milan



More information about the Pkg-clamav-devel mailing list