[clamav-users] Opinion wanted: Change default config directory usr/clamav
Michael Orlitzky
michael at orlitzky.com
Sat Jul 31 13:00:25 UTC 2021
On Sat, 2021-07-31 at 14:47 +0200, Arjen de Korte via clamav-users
wrote:
>
> What might be useful to add, is an option to set the name of the UNIX
> socket (which is hard coded now) through a cmake option. In openSUSE
> we patch this to a different name, but this needs to be done in
> several files, so a cmake option would help.
>
If the configuration files are changed to templates, the line
#LocalSocket /tmp/clamd.socket
(which creates a security vulnerability) could become
#LocalSocket @RUNSTATEDIR@/clamav/clamd.ctl
instead. That's not _completely_ configurable, but it's a secure
setting that could be used by everyone without patching.
More information about the clamav-users
mailing list