On Mon, 24 Jan 2005 at  3:04:22 -0700, Hal Goldfarb wrote:
> [...]
> I am running Mandrake 10.1 with all mdk updates applied as of this message.  
> I 
> am running clamav 0.80 with the latest virus database updates.  The RPM is 
> release 5.1.101mdk, to be exact.
> 
> Problem:  When I run clamdscan (which uses the daemon), it generates zillions 
> of errors in the clamd.log file something like "Directory recursion limit 
> exceeded at /home/hal/.tvtime".  However, when I run clamscan (which does not 
> use the daemon, right?), 

Right.

> it does not generate these errors as far as I can tell.
> I am using the default recursion of 20 levels, so I think I should be ok.

To be precise: according to clamd.conf the default is 15:

       MaxDirectoryRecursion NUMBER
              Maximal depth directories are scanned at.
              Default: 15


How many levels of subdirectories have you got under /home/hal/.tvtime ?
Or maybe there is some archive file with many subdirectories?

[...]
> A sidenote:  The clamdscan program disregards many clamscan options because 
> it 
> uses the daemon.  

Sure. Exactly because of that reason, there are only few options for
clamdscan (see 'clamdscan -h' for the supported ones).

> The "-r" option is needed for clamscan or it does not scan 
> subdirectories.  

This is intended.

> However, clamdscan seems to automatically trigger recursion 
> when calling the daemon to do its work.  This seems asymetrical to me, but 
> perhaps you can educate me why it is this way.

As clamdscan is only an interface to clamd, the way it works depends on
clamd.conf. To be sure what settings are used for clamd, you have to
check the contents of clamd.conf. Moreover: make sure there are _no_
other - forgotten clamav related files in the system because one may be
using them instead of these one is thinking is using.
Check also the clamd.log file (the fragment after "Started at") for
settings used by clamd.

> Thank you,
> Hal
> 
> PS  How rude of me!  I forgot to say:  Excellent software set.  I like the 
> idea of being able to protect my Linux boxes from destruction.

Thanks :-) .
-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros.
 [EMAIL PROTECTED]   http://www.ClamAV.net/   A GPL virus scanner
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to