[Pkg-clamav-devel] Bug#783720: clamav-daemon does not honour Local* with systemd

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Apr 29 19:09:52 UTC 2015


Hi Sebastian,

On 29.04.2015 14:56, Sebastian Andrzej Siewior wrote:
> The options
> 	LocalSocket /var/run/clamav/clamd.ctl.change
> 	LocalSocketGroup nobody
> 	LocalSocketMode 600
> 
> in clamd.conf are not considered when used via systemd. It seems that 
> 	/lib/systemd/system/clamav-daemon.socket
> has those options hardcoded. Not sure if this should be updated by
> debconf or the clamd.conf should win over the service file but the way
> it is now the options are silently ignored which means a regression from
> Wheezy.

This should be handled just as the TCPSocket option via extending the
socket unit with /etc/systemd/system/clamav/extend.conf.
(I should have noticed this, when implementing the TCPSocket extending.)
I'll work on implementing that shortly.

> Feel free to correct the severity level but it mill break all setups
> where a different group and socket path is used.

We handled the TCPSocket issue as serious, so I'll leave the severity
for now.

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list