Closed nstommel closed 2 years ago
Hi @nstommel ,
This looks to be an issue with freshclam
, according to this:
https://lists.clamav.net/pipermail/clamav-users/2021-July/011499.html
Unfortunately, that means I can't do much about it; they're aware of the issue and are on top of it.
Can you see if they're downloaded at all? Try opening a terminal window, and type:
sigtool -i ~/.clamtk/db/daily.*
sigtool -i ~/.clamtk/db/main.*
Hopefully the dates will show the signatures are current.
respectfully,
Dave M
Describe the bug ClamAV with freshclam works fine, but for some reason ClamTK still lists signatures as outdated and gives an odd error message about a seek failure. The following warnings and errors occur when running clamtk and attempting to manually update signatures.
This bug makes ClamTK impossible to use properly on Fedora 34.
To Reproduce Steps to reproduce the behavior:
ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
in terminal while ClamTK is unable to update signatures three times due to an lseek failure.Expected behavior ClamTK should register updated virus definitions/signatures from clamav freshclam, but does not acknowledge they exist. Attempting to manually update signatures inside ClamTK results in an error message in the terminal and a blank prompt in the GUI.
Screenshots Below is the glitched text box in ClamTK GUI that results after manually checking for updates:![Screenshot from 2021-08-25 22-04-54](https://user-images.githubusercontent.com/15708310/130888378-f94a1701-c656-43a4-be28-f534a73bb036.png)
OS:
clamtk:
Additional context This bug makes ClamTK's update feature useless on Fedora 34, it needs to be fixed. Copying
bytecode.cvd
daily.cld
freshclam.dat
main.cvd
from/var/lib/clamav/
to/home/yourusernamehere/.clamtk/db
works, but is kind of janky. Once virus definitions are updated by manually copying the files, checking for updates results in the same glitched text prompt with back button shown in the screenshot above, with no error message printed in the terminal. Here is some sample output from/home/yourusernamehere/.clamtk/db/freshclam.log
that shows the error:It appears that ClamTK cannot properly apply a required patch, which results in a cdiffy_apply lseek failure. Right now my solution is just to soft symlink the required signature files from
/var/lib/clamav
to/home/yourusernamehere/.clamtk/db
.