Hello! Apologies for the delay getting back to you. I also saw this report: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1920615/
I tried to reproduce the issue you described but was unable. I tried moving the ssl directory and moving the clamav directory and then created symlinks to each. Eg: root@117df8bca60f:/# ls -la /var/lib/ total 64 ... lrwxrwxrwx 1 root root 22 Mar 27 23:38 clamav -> /var/lib/clamav_moved/ and root@117df8bca60f:/# ls -la /etc/ ... lrwxrwxrwx 1 root root 15 Mar 27 23:37 ssl -> /etc/ssl_moved/ I had no problems running freshclam with these symlinks set up. I don't think there is a bug here. I suspect that perhaps the permissions or ownership of your replacement directories or symlinks are causing the issue. When freshclam is run by sudo, it switches users to run as the "clamav" user. The database directory must be owned by the "clamav" user. The config files, ssl files must be accessible to the clamav user. If you want to share your exact layout, ownership and permissions of these files and directories I can try to help more. -Micah > -----Original Message----- > From: clamav-devel <clamav-devel-boun...@lists.clamav.net> On Behalf Of > jean-christophe manciot > Sent: Monday, March 22, 2021 6:30 AM > To: clamav-devel@lists.clamav.net > Subject: [SUSPECTED SPAM] [Clamav-devel] [Feature request] Support Linux > symlinks for all configuration and database folders > > On Ubuntu, freshclam 0.103.0+dfsg-3.1 does not support symlinks for any of > the following: > - /etc/clamav > - /etc/ssl > - /etc/ssl/certs > - /var/lib/clamav > > If any of the aforementioned folders is a symlink, no database update by > freshclam is possible. > Cf. bug report > https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1920615. > _______________________________________________ > > clamav-devel mailing list > clamav-devel@lists.clamav.net > https://lists.clamav.net/mailman/listinfo/clamav-devel > > Please submit your patches to our Github: https://github.com/Cisco- > Talos/clamav-devel/pulls > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml _______________________________________________ clamav-devel mailing list clamav-devel@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-devel Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml