I'm scanning a Centos 5.4 server with ClamAV 0.96.1/11184 and started
the scan with

# clamscan -ivr

from the  root directory to scan the whole server. The scan has been
running for about 8 hours and I've been checking the progress on the ssh
session that launched it.

About 10 minutes ago I noticed that the list of files being scanned had
stopped after a bunch of output like

Scanning /sys/devices/pci0000:00/0000:00:05.0/msi_bus
LibClamAV Warning: fmap_readpage: pread fail: asked for 4096 bytes @
offset 0, got 0

The problem (besides the scan dying unfinished) is that nothing in the
/sys, /dev/ or /proc directories are supposed to be scanned to avoid
these errors.

In my clamd.conf I've got the entry below, did I screw something up?

# Don't scan files and directories matching regex
# This directive can be used multiple times
# Default: scan all
ExcludePath ^/proc/
ExcludePath ^/sys/
ExcludePath ^/dev/

Thanks,

Damon

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to