clamav-freshclam 1.0.5 and logwatch 7.7-1 fails to report
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Ubuntu) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04 LTS
Release: 24.04
$ apt-cache policy clamav-freshclam
clamav-freshclam:
Installed: 1.0.5+dfsg-
Candidate: 1.0.5+dfsg-
Version table:
*** 1.0.5+dfsg-
500 http://
100 /var/lib/
$ apt-cache policy logwatch
logwatch:
Installed: 7.7-1ubuntu1
Candidate: 7.7-1ubuntu1
Version table:
*** 7.7-1ubuntu1 500
500 http://
500 http://
100 /var/lib/
Expect that daily logwatch emails properly show clamav update information.
I believe that this problem started around the time clamav went to version 1.0.x.
Excerpt from daily logwatch email report...
------
No updates detected in the log for the freshclam daemon (the
ClamAV update process). If the freshclam daemon is not running,
you may need to restart it. Other options:
A. If you no longer wish to run freshclam, deleting the log file
(configured is /var/log/
B. If you use a different log file, update the appropriate
configuration file. For example:
echo "LogFile = log_file" >> /etc/logwatch/
where log_file is the filename of the freshclam log file.
C. If you are logging using syslog, you need to indicate that your
log file uses the syslog format. For example:
echo "*OnlyService = freshclam" >> /etc/logwatch/
echo "*RemoveHeaders" >> /etc/logwatch/
------
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: clamav-freshclam 1.0.5+dfsg-
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu May 30 05:54:37 2024
InstallationDate: Installed on 2021-09-25 (978 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
SourcePackage: clamav
UpgradeStatus: Upgraded to noble on 2024-05-25 (5 days ago)
Thank you for making this bug report!
I wonder if this can be fixed by the solution in this blog[0], but the blog is pretty old so I'd be surprised such an old solution fixes it.
[0] - https:/ /adriano. ws/fixing- updates- detected- log-freshclam- daemon- error/