[clamav-users] On-Access Scanning "ERROR: ClamCom: TIMEOUT while waiting on socket (recv)

Aaron Brighton abrighton at destinysolutions.com
Wed Jun 3 15:47:05 UTC 2020


Wanted to provide an update.  Posted this over at the existing bug report as well: https://bugzilla.clamav.net/show_bug.cgi?id=12563

If I change the parameters passed to clamonacc when launching it, specifically if I drop --fdpass, On-Access Scanning works fine.

Instead of: 

clamonacc --verbose --log=/var/log/clamav/clamonacc.log --fdpass

I use:

clamonacc --verbose --log=/var/log/clamav/clamonacc.log

That said, clamdscan works fine with --fdpass.  I would assume clamonacc should be doing more or less the same thing when using --fdpass as clamdscan, however, this clearly isn't the case.  So it's possible comparing the --fdpass implementation between these two utilities will reveal the issue.

Unfortunately, having had to drop --fdpass, clamd now needs to run as a privileged user to be able to access the files we want to scan, so not ideal. We'd like to see the --fdpass functionality working so that we can drop clamd from running as root.

Hope this work-around helps anyone else having this issue.

Looking forward to any updates or additional steps that can been taken to regain the --fdpass functionality in clamonacc.

Aaron



More information about the clamav-users mailing list