Re: [Hampshire] clamav output help

Top Page
Author: Steve Kemp
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] clamav output help

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x58550100.hantslug.org.uk.6266': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: verify signatures failed: Unknown system error
On Thu, Nov 16, 2006 at 09:02:14AM +0000, hantslug@??? wrote:

> So this morning I started to run clamscan again:
> [root@Tux:/]# clamscan -ri
>
> Here is the beginning of the result:
>
> ERROR: Can't open file //sys/bus/pci/drivers/e100/new_id
> ERROR: Can't open file //sys/bus/pci/drivers/shpchp/new_id


The files beneath "/sys" are like the files beneath "/dev" - they
are kernel generated and not fully real.

You shouldn't attempt to scan them. I believe it should be
OK because I'm assuming that the scan only involves reading from
them not writing to them. Writing to files beneath /proc, or /sys,
can do very weird things to your system.

For example you might disable a network card, enable IP forwarding, or
more!

(It is similar to writing to files in /dev, where you might accidentally
trash your disk drives because /dev/hda is your disk, not a normal
file.)

So .. ignore the errors and don't scan /sys, /proc, or /dev in
future.

Steve
--