[CentOS] ClamAV help needed

Ralph Angenendt ra+centos at br-online.de
Tue Jun 17 12:48:12 UTC 2008


Simon Banton wrote:
> At 13:16 +0200 17/6/08, Ralph Angenendt wrote:
>> It does at least open freshclam.conf
>
> True, but then it goes on to look in its compiled in location too:
>
> open("/etc/freshclam.conf", O_RDONLY)   = 3
> open("/var/lib/clamav/daily.cld", O_RDONLY) = 3
> open("/usr/local/share/clamav/daily.cld", O_RDONLY) = 3
> open("/usr/local/share/clamav/daily.cld", O_RDONLY) = 3
> open("/usr/local/share/clamav",  
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> open("/usr/local/share/clamav/main.cvd", O_RDONLY) = 4

It doesn't here:

admin at mail-gw-3:~$strace -eopen clamscan
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/lib/libclamav.so.4", O_RDONLY) = 3
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
open("/usr/lib/libbz2.so.1", O_RDONLY)  = 3
open("/usr/lib/sse2/libgmp.so.3", O_RDONLY) = 3
open("/usr/lib/libclamunrar_iface.so.4", O_RDONLY) = 3
open("/usr/lib/libclamunrar.so.4", O_RDONLY) = 3
open("/etc/freshclam.conf", O_RDONLY)   = 3
open("/var/clamav/daily.cld", O_RDONLY) = 3
open("/var/clamav", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/var/clamav/main.cvd", O_RDONLY)  = 4
open("/tmp/clamav-56d503ba1cf89b51cfc1483052997d0e/COPYING", O_WRONLY|O_CREAT|O_TRUNC

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20080617/74ba8164/attachment.bin


More information about the CentOS mailing list