Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295182 - app-antivirus/clamav - freshclam : since 0.95.1 (current 0.95.2) OnOutdatedExecute seem not to work anymore
Summary: app-antivirus/clamav - freshclam : since 0.95.1 (current 0.95.2) OnOutdatedEx...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 13:35 UTC by sec.plabst
Modified: 2012-08-11 13:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sec.plabst 2009-11-30 13:35:26 UTC
since version 0.95.1 it seems the "OnOutdatedExecute" - func seems not to work anymore for freshclam ; at least with option --no-dns or when there is the  
WARNING: Invalid DNS reply. Falling back to HTTP mode.

Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2010-01-02 21:39:16 UTC
I'm not sure what the old version-checking mechanism was for freshclam earlier than 0.95.2, but if you only have problems when DNS is unavailable you're seeing the expected behavior for the current freshclam design. 

From freshclam.conf man page:
DNSDatabaseInfo STRING
    This directive enables database and software version checks through DNS TXT records.
    Default: enabled, pointing to current.cvd.clamav.net 

Since freshclam uses DNS queries to see what is current version for comparison against installed version, if it can't do DNS then it doesn't know to set the outdated flag. 


So, have you seen OnOutdatedExecute work ok when DNS _is_ available? Or does it never seem to work anymore?
Comment 2 sec.plabst 2010-01-08 13:38:35 UTC
(In reply to comment #1)
> I'm not sure what the old version-checking mechanism was for freshclam earlier
> than 0.95.2, but if you only have problems when DNS is unavailable you're
> seeing the expected behavior for the current freshclam design. 
> 
> From freshclam.conf man page:
> DNSDatabaseInfo STRING
>     This directive enables database and software version checks through DNS TXT
> records.
>     Default: enabled, pointing to current.cvd.clamav.net 
> 
> Since freshclam uses DNS queries to see what is current version for comparison
> against installed version, if it can't do DNS then it doesn't know to set the
> outdated flag. 
> 
> 
> So, have you seen OnOutdatedExecute work ok when DNS _is_ available? Or does it
> never seem to work anymore?
> 

I can not check that, because I allways get this DNS -error, but i swa in the freshclamlog the warning that the version was outdated , only the OnOutdated-mechanism didn´t work
Comment 3 Wormo (RETIRED) gentoo-dev 2010-01-10 07:36:56 UTC
Ok, it seems strange that you always get a complaint about DNS. How about you attach a copy of your logfile and post output from 'emerge --info', and then we'll ask the clamav maintainers to take a look.