[clamav-users] Opinion wanted: Change default config directory usr/clamav
Arjen de Korte
build+clamav at de-korte.org
Sat Jul 31 12:47:25 UTC 2021
Citeren "Micah Snyder (micasnyd) via clamav-users"
<clamav-users at lists.clamav.net>:
> Hi all,
>
> I could use your opinion about a change we'd planned to make in
> 0.104. By request, I'd made this pull request to change the default
> directory for the config files from <prefix>/etc to
> <prefix>/etc/clamav. The purpose being to de-clutter /usr/local/etc:
> https://github.com/Cisco-Talos/clamav/pull/182
>
> I procrastinated merging it for a long time because while it feels
> like a good change it will require a change to our test framework
> and would likely break scripts for other users as well. Some
> justification for the change at this time is that with the build
> system change to cmake, users will likely have to change the same
> scripts anyhow so we don't have any better time.
>
> Unfortunately, I procrastinated it so hard I forgot to merge it
> before the first release candidate. Now, I can't decide if it's
> right to merge it before the second release candidate or throw it
> away. I would like your opinion.
Either way is probably fine, there is always the APP_CONFIG_DIRECTORY
option to change the location. As long as this is honored, just
mentioning the change in the changelog should be enough.
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.
More information about the clamav-users
mailing list