Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2022 05:12:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268069] clamav 1.0.0 does no work with cld and cvd files
Message-ID:  <bug-268069-7788-VxKBicK8nK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268069-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268069-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268069

fsbruva@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fsbruva@yahoo.com

--- Comment #1 from fsbruva@yahoo.com ---
Confirmed on FreeBSD 12.3-RELEASE using upgraded installation built from po=
rts.

First test, I re-used the previous daily.cld, which was acceptable to clamav
0.105.=20

user@machine # freshclam
ClamAV update process started at Tue Nov 29 20:33:52 2022
daily.cld database is up-to-date (version: 26735, sigs: 2013231, f-level: 9=
0,
builder: raynman)
main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90,
builder: sigmgr)
bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63,
builder: awillia2)
user@machine:/ # service clamav-clamd start
Starting clamav_clamd.
LibClamAV Error: cli_loadinfo: Incorrect digital signature
LibClamAV Error: cli_loadinfo: Problem parsing database at line 25
LibClamAV Error: Can't load daily.info: Malformed database
LibClamAV Error: cli_tgzload: Can't load daily.info
LibClamAV Error: Can't load /var/db/clamav/daily.cld: Malformed database
LibClamAV Error: cli_loaddbdir: error loading database /var/db/clamav/daily=
.cld
ERROR: Malformed database
/usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd

I then moved the existing /var/db/clamav contents, and re-downloaded it.=20
 Fresh copy of the database is still has integrity issues:

ClamAV update process started at Tue Nov 29 21:06:57 2022
daily database available for download (remote version: 26735)
Time:   19.5s, ETA:    0.0s [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D>]   57.53MiB/57.53MiB
ERROR: Verification: Can't verify database integrity
Trying again in 5 secs...
daily database available for download (remote version: 26735)
Time:   27.0s, ETA:    0.0s [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D>]   57.53MiB/57.53MiB
ERROR: Verification: Can't verify database integrity
Trying again in 5 secs...
daily database available for download (remote version: 26735)
Time:   28.3s, ETA:    0.0s [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D>]   57.53MiB/57.53MiB
ERROR: Verification: Can't verify database integrity
Giving up on https://database.clamav.net...
ERROR: Update failed for database: daily
ERROR: Database update process failed: Invalid or corrupted CVD/CLD database
ERROR: Update failed.

I also re-built using rust 1.63 (from pkg), because I had some custom optio=
ns.
Still failed.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268069-7788-VxKBicK8nK>