Bug #5255
closedClamav not updating
0%
Description
After the last update, Clamav is not updating with freshclam
anymore. All settings are set to default.
I noticed the source of the error is that freshclam.conf was using Windows line endings (with CRLF) instead of Unix ones (with LF). Manually changing line endings to the right ones solves the problem.
Every time I access Services > Squid Proxy Server > Antivirus and hit "Save". The wrong line endings appears again.
Just to avoid duplicates, the error displayed when I run freshclam
in terminal is:
ERROR: Incorrect argument format for option AllowSupplementaryGroups ERROR: Can't open/parse the config file /usr/pbi/squid-amd64/etc/freshclam.conf
Obviously, this error has nothing to do with AllowSupplementaryGroups option. I am using squid3 package 0.3.8.
Updated by Kill Bill over 9 years ago
Read the FAQ on the forum thread. https://forum.pfsense.org/index.php?topic=100167.0
There won't be anything fixed here, the whole clusterfuck is being redone from scratch.
Updated by Kill Bill over 9 years ago
Updated by Diego Queiroz over 9 years ago
Great. Thanks for the FAQ link, I'll follow it.
Anyway, the update info should be available from the beginning in the 0.3.8 change log directly on the pfSense GUI.
Before updating the package, I accessed that change log and it redirects me to https://github.com/pfsense/pfsense-packages/commits/master/config/34, which is broken. I was really not expecting a big change in this version.
Now it is easy to find hits on Google about this issue, but it was not that easy when I created this issue.
Also, if this version represent a great change on the package, it should not be version 0.3.8, but 0.4.0 maybe. That obviously would make me more cautious about the update.
Updated by Kill Bill over 9 years ago
0.4.0 is reserved for the final bug-free version, after which I won't touch this damned package ever again... :-P
(The rewrite deals with the AV part; the rest of the commit are just cleanups to make the thing maintainable. Most of work was already done in recent versions.)
Updated by Diego Queiroz over 9 years ago
There is no such thing as "bug free version" in software development. Really.
If the bug free version is the stable very well tested version, it should be named 1.0.0, doesn't it?
Anyway, and how about the changelog link that is broken. Can't it be updated?
Updated by Kill Bill over 9 years ago
That was a joke... seems your sarcasm detector is broken. And no, the changelog cannot be fixed anywhere in the package, that is pfSense package manager bug.
Updated by Diego Queiroz over 9 years ago
You are right. I am taking things too seriously lately. My fault. What I really need is a vacation. :(
Updated by Kill Bill over 9 years ago
Please, try with 0.3.9.1. Preferably on a sane box that did not have 159 previous Squid versions installed.
Updated by Kill Bill over 9 years ago
This works just fine in 0.4.0; the broken code has been completely rewritten.