this post was submitted on 11 May 2025
9 points (100.0% liked)

Linux

10975 readers
155 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Lojcs@lemm.ee 0 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

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

[โ€“] catloaf@lemm.ee 3 points 4 weeks ago

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