Public bug reported:
Binary package hint: clamav-getfiles
The script clamav-getfiles fails to complete.
After downloaded signatures, the script run clamscan on the directory
/usr/share/clamav-testfiles,
in which there are virus 6 test files, but the script report on error because
it has been written for 5 test files.
Result of the script follows :
Database updated (115854 signatures) from db.local.clamav.net (IP:
193.218.105.9)
/usr/bin/clamscan -d /root/clamav-data --recursive /usr/share/clamav-testfiles
/usr/share/clamav-testfiles/clam.exe.bz2: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/debugm.c: OK
/usr/share/clamav-testfiles/clam.cab: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam.exe: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam-v2.rar: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam-v3.rar: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam.zip: ClamAV-Test-File FOUND
----------- SCAN SUMMARY -----------
Known viruses: 115854
Engine version: 0.90.2
Scanned directories: 1
Scanned files: 7
Infected files: 6
Data scanned: 0.00 MB
Time: 22.484 sec (0 m 22 s)
Wrong number (6/5) of 'infected' files detected while scanning clamav test files
Changing from 5 to 6 the variable REFNUMBADFILES in the script solves
the problem.
Distribution : Feisty
Packages version :
clamav-getfiles 0.6-1
clamav-testfiles 0.90.2-0ubuntu1
** Affects: clamav-getfiles (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
clamav-getfiles script does not work (bad test files number)
https://bugs.launchpad.net/bugs/114446
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs