Trying to set up clamonacc to watch /home, /tmp and /storage (where I mount other drives). It keeps failing due to ERROR: ClamInotif: could not add element to hash table for ...
that causes ERROR: ClamInotif: issue when adding watch for /home/lojcs
and ultimately ERROR: ClamInotif: could not watch path '/home/', Invalid argument passed to function
.
The initial error was triggered by the steam folder, empty cache directory of starship, firefox cache directory, my ‘Games’ folder and after that I stopped excluding the directories. I don’t see the point in having on-access scan if I need to carve out large chunks of the filesystem to make it work for reasons I don’t understand. I don’t see anything common with those directories or what makes them different than the ones it has no problem watching.
Has anyone successfully set up clamonacc? This is like the 3rd time I’m trying in the last couple years and it never works.
Did you follow the documentation? https://docs.clamav.net/manual/OnAccess.html
I didn’t, I followed the arch linux guide which uses a systemd service. But there doesn’t seem to be anything the documentation says to do that I didn’t neither, it’s written as if it’s supposed to just work
If you’ve followed the steps listed and it does not work as expected, I would file a bug report: https://docs.clamav.net/manual/Usage/ReportABug.html