2010/3/19 Török Edwin <[email protected]>

> On 03/19/2010 09:16 AM, John Williams wrote:
> > Ok...so it is.  Apparently the version I'm getting through apt-get on
> ubuntu
> > is .95.2.  Looking at the site the newest is .95.3.  Well ok so I need to
> > update.  However I have a major issue.  I was planning to use clamav to
> scan
> > user uploaded files, however when I import pyclamav and it register's out
> of
> > date it doesn't just politely inform me it's time to update it takes down
> my
> > entire django development server with it.
>
> That is a bug in pyclamav, or how it is used then.
> Can you show a simple example of using pyclamav that dies when clamav is
> out of date?
>
> >
> > I can't fathom a possible reason that the best response the an out of
> date
> > virus scanner is the moment it gets imported to kill the entire process.
> >  Log a warning sure, go "No way I'm not going to let you scan anything
> until
> > you update".  Worse it managed to kill the entire development server
> process
> > for some unknown reason.  I can't ever imagine launching a live site with
> > something that I've seen act like this.  I miss an update by a few days
> of a
> > mostly non essential piece of software and my entire file upload system
> (and
> > possibly even the webserver) is done for?
> >
> > Clearly the "solution" to the problem is to update my version....but how
> do
> > I prevent clam from doing this at all.  If I'm slow to update it
> shouldn't
> > completely disable itself.
>
> It doesn't, it keeps scanning. At least that happens when you use clamd
> or clamscan.
>
> Best regards,
> --Edwin
>
> It's good to hear that it's still scanning...or at least should be.  This
is looking more like a pyclamav issue then.  The easiest demonstration of an
issue is just to open a python shell with the python-clamav package
installed.

>>> import pyclamav
LibClamAV Warning:
***********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.
***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq***
LibClamAV Warning:
***********************************************************
LibClamAV Warning:
***********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.
***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq***
LibClamAV Warning:
***********************************************************
Killed
jwilli...@jaidan:~ $

Actually I just managed to get my updates working right and well I think I
can firmly say this falls into the realm of an issue with pyclamav or my own
usage fault and not an issue with clamav.  The updated version acts the
same.

>>> import pyclamav
Killed
jwilli...@jaidan:~ $
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to