[clamav-users] ClamAV 0.103.0 release candidate - systemd service start fails

Arjen de Korte build+clamav at de-korte.org
Fri Aug 21 09:39:13 UTC 2020


Citeren Arjen de Korte via clamav-users <clamav-users at lists.clamav.net>:

> OS: openSUSE Tumbleweed
>
> I have found (like others) that the ClamAV 0.103.0-rc service  
> doesn't start. When running the binary in a console, it doesn't  
> daemonize, but keeps running. PID file and socket are created however.

That should have read the clamd.service and the /usr/sbin/clamd binary  
respectively.

> I bisected this problem and found the commit
>
>     bb12435: Create PID file before dropping privileges.
>
> to be the culprit here. Reverting that one, all is well.
>
> It is not clear to me what problem this patch intends to solve (for  
> a systemd service it is absolute not required from a security point  
> of view). The PIDFile should be writable by vscan user only anyway.






More information about the clamav-users mailing list