On Wed, 08 Jun 2005 16:58:17 +0200
Per Jessen <[EMAIL PROTECTED]> wrote:

> Per Jessen wrote:
> 
> > Summary:
> > Introduce a new config option "OnOutdatedExecute" in the same style as the 
> > existing
> > "OnErrorExecute" and "OnUpdateExecute", but to be carried out when the 
> > freshclam determines a
> > discrepancy between database and the clamav installation.
> > For anyone running freshclam as a daemon this should be a welcome 
> > improvement, I believe.
> 
> Did anyone have any comments on this? 
> 
> http://jessen.ch/files/patch-clamav-latest-onoutdatedexecute
> 
> I'd be particularly interested in comments on _when_ such an execute is or 
> should be triggered. 

It should be triggered on both version and f-level warnings (but only
once even if both of them are reported). Another thing that must be
addressed in your patch is the execution point - running a command
before a database update is not safe (move it at the end of
downloadmanager()).

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Fri Jun 10 14:58:33 CEST 2005

Attachment: pgp46hXjfWfJg.pgp
Description: PGP signature

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to