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

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to