On 18 Apr 2010, at 21:47, Török Edwin wrote:
On 2010-04-18 22:39, Hauke Duden wrote:
Compiling and installing went well. I also ran the unit tests and
they
all passed. But I then did a full scan of the machine and got lots
and
lots of warnings like this:
LibClamAV Warning: pread fail: page 0 pages 1 map-offset 0 - asked
for
4096 bytes, got 5
LibClamAV Warning: pread fail: page 0 pages 1 map-offset 0 - asked
for
4096 bytes, got 2
LibClamAV Warning: pread fail: page 0 pages 1 map-offset 0 - asked
for
4096 bytes, got 11
Can you find the file that triggers these warnings? (if you use
clamscan
-rvi, it'll print the filename before scanning it, so you can easily
associate warning message with file).
I did what you asked me to do and it seems that the problem is not in
clamav. The files in question are marked as having a size of 4096, but
when I open them I only get a few bytes of data. The strange thing is
that they are all in /sys. Some in /sys/module, some in /sys/kernel
and some in /sys/hypervisor.
Have you encountered anything like this before? Are these special
files that should not be scanned? If so, what directories should I
exclude?
Best regards,
Hauke
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml