clamav update failed - default timeout needs a bump (upstream has bumped already)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
since the last 1 month clam av is not getting updated.
clamtk reports antivirus signatures outdated.
sudo freshclam starts the update which is about 56 mb but the update fails at around 17-18 mb.
this is with a fresh install of both 18.04.4 & 19.10.
tried various repositories but to no avail.
clamscan -V
ClamAV 0.102.2
please have a look here =
& here =
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: clamav 0.102.2+
ProcVersionSign
Uname: Linux 5.3.0-40-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.11
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 3 10:17:52 2020
InstallationDate: Installed on 2020-02-29 (2 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: clamav
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
information type: | Private Security → Public |
information type: | Private Security → Public Security |
information type: | Public Security → Private Security |
information type: | Private Security → Public |
information type: | Public → Private Security |
information type: | Private Security → Public Security |
Hi,
it seems to time out on you :-/
By default that should be done automatically in background by the service:
root@b:~# systemctl status clamav- freshclam. service freshclam. service - ClamAV virus database updater system/ clamav- freshclam. service; enabled; vendor preset: enabled)
man: freshclam. conf(5) /www.clamav. net/documents slice/clamav- freshclam. service
● clamav-
Loaded: loaded (/lib/systemd/
Active: active (running) since Fri 2020-03-06 10:20:51 UTC; 3min 6s ago
Docs: man:freshclam(1)
https:/
Main PID: 22378 (freshclam)
Tasks: 1 (limit: 4915)
CGroup: /system.
└─22378 /usr/bin/freshclam -d --foreground=true
Mar 06 10:21:11 b freshclam[22378]: Fri Mar 6 10:21:11 2020 -> daily.cvd updated (version: 25742, sigs: 2208177, f-level: 63, builder: raynman) clamav/ tmp.0b342/ clamav- ea8e6554afa4b49 023af11272e0953 2f.tmp- main.cvd' ... clamav/ tmp.0b342/ clamav- 7daed3263eb26f7 53d70cec595669c a0.tmp- bytecode. cvd' ... clamd.conf
Mar 06 10:21:11 b freshclam[22378]: Fri Mar 6 10:21:11 2020 -> main database available for download (remote version: 59)
Mar 06 10:21:28 b freshclam[22378]: Fri Mar 6 10:21:28 2020 -> Testing database: '/var/lib/
Mar 06 10:21:35 b freshclam[22378]: Fri Mar 6 10:21:35 2020 -> Database test passed.
Mar 06 10:21:35 b freshclam[22378]: Fri Mar 6 10:21:35 2020 -> main.cvd updated (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
Mar 06 10:21:35 b freshclam[22378]: Fri Mar 6 10:21:35 2020 -> bytecode database available for download (remote version: 331)
Mar 06 10:21:35 b freshclam[22378]: Fri Mar 6 10:21:35 2020 -> Testing database: '/var/lib/
Mar 06 10:21:36 b freshclam[22378]: Fri Mar 6 10:21:36 2020 -> Database test passed.
Mar 06 10:21:36 b freshclam[22378]: Fri Mar 6 10:21:36 2020 -> bytecode.cvd updated (version: 331, sigs: 94, f-level: 63, builder: anvilleg)
Mar 06 10:21:36 b freshclam[22378]: Fri Mar 6 10:21:36 2020 -> !NotifyClamd: Can't find or parse configuration file /etc/clamav/
And its full log (could be usefull to attach that to the bug) would look like: freshclam. service freshclam. service: Failed to reset devices.list: Operation not permitted freshclam. service: Failed to reset devices.list: Operation not permitted freshclam. service: Failed to reset devices.list: Operation not permitted clamav/ tmp.0b342/ clamav- d27d67a14d4730f a24f41ecf9e5e83 a8.tmp- daily.cvd' ...
root@b:~# journalctl -u clamav-
-- Logs begin at Tue 2019-12-17 08:53:23 UTC, end at Fri 2020-03-06 10:23:51 UTC. --
Mar 06 10:20:51 b systemd[1]: clamav-
Mar 06 10:20:51 b systemd[1]: Started ClamAV virus database updater.
Mar 06 10:20:51 b freshclam[22378]: Fri Mar 6 10:20:51 2020 -> ClamAV update process started at Fri Mar 6 10:20:51 2020
Mar 06 10:20:51 b systemd[1]: clamav-
Mar 06 10:20:51 b systemd[1]: clamav-
Mar 06 10:20:53 b freshclam[22378]: Fri Mar 6 10:20:53 2020 -> daily database available for download (remote version: 25742)
Mar 06 10:21:04 b freshclam[22378]: Fri Mar 6 10:21:04 2020 -> Testing database: '/var/lib/
Mar 06 10:21:11 b freshclam[22378]: Fri Mar 6 10:21:11 2020 -> Database test passed.
Mar 06 10:21:11 b freshclam[22378]: Fri Mar 6 10:21:11 2020 -> daily.cvd updated (version...