After today's ClamAV update, I found that my existing clamd.conf no longer works. The following error was displayed on startup: LibClamAV Error: cl_load(): No such file or directory: /usr/share/clamav ERROR: Can't get file status Closing the main socket. If I add "DatabaseDirectory /var/lib/clamav" to both clamd.conf and freshclam.conf, the services start correctly. Looking at the ebuild, I see sed statements in src_install() to rewrite '#DatabaseDirectory' lines, but sed only seems to target commented lines? Reproducible: Always Steps to Reproduce: 1. Update to ClamAV 0.102.0 2. Do not have "DatabaseDirectory /var/lib/clamav" in clamd.conf 3. Observe that clamd fails to start
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb3db2818946b402973baf317b00cb91b533102 commit dfb3db2818946b402973baf317b00cb91b533102 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2019-10-17 11:48:09 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2019-10-17 11:53:38 +0000 app-antivirus/clamav: new revision sans killer comment. One line of the econf command in the clamav-0.102 ebuilds was commented out. But, since the comment appeared in the middle of a multi-line statement, it accidentally split the command in half. This led to some important flags like --with-dbdir being dropped from the final ./configure invocation. This commit adds a new revision to delete the comment. Testing shows that this fixes the database directory issue. Closes: https://bugs.gentoo.org/697718 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../clamav/{clamav-0.102.0-r1.ebuild => clamav-0.102.0-r2.ebuild} | 1 - 1 file changed, 1 deletion(-)