Open dmitrydonskih opened 2 months ago
Thanks for the report.
At present we can only check for a single "latest version" Since our change to our EOL policy and introducing an LTS version, we don't want folks on an older (but still supported) LTS release to see warnings that they need to upgrade.
So right now, we have the latest version set to "0.103.11". This warns folks that they must upgrade if their version is older than this. Sadly, it doesn't do anything for people on newer versions.
This is something I want to work on as well. We really need a way to define what are the latest patch versions of the currently supported releases, and then logic in Freshclam to check if the current version is outdated.
Describe the bug
There used to be warnings in logs about outdated ClamAV version. Now they do not appear. Also, a command defined in
OnOutdatedExecute
is not firing. I am running ClamAV 1.3.0 on Oracle Linux 9.4.How to reproduce the problem
Download and install RPM
https://www.clamav.net/downloads/production/clamav-1.3.0.linux.x86_64.rpm
. AddOnOutdatedExecute=/my/script.sh
to/etc/freshclam.conf
. Check version:/usr/local/bin/freshclam -vvv --foreground=true --config-file=/etc/freshclam.conf --version
Run
/usr/local/bin/freshclam -vvv --foreground=true --config-file=/etc/freshclam.conf
See output (noteSoftware version from DNS: 0.103.11
):/usr/local/bin/clamconf -n -c /etc/clamd.d/amavisd.conf
Attachments
None.