[pmg-devel] [PATCH pmg-api 2/2] freshclam.conf.in: remove ReceiveTimeout option

Stoiko Ivanov s.ivanov at proxmox.com
Fri Apr 3 19:58:00 CEST 2020


mirroring the changed default both in upstream [0] and debian [1].
Additionally since the upgrade to clamav 0.102.2 we had a number of reports
from users (both in forum and in our enterprise support), which noticed
that the upgrades don't work due to running into the timeout
(might be related to the use of libcurl in freshclam in 0.102.0)

absence of 'ReceiveTimeout' in freshclam.conf (5)  defaults to 0 (no timeout).

[0] https://blog.clamav.net/2020/02/clamav-01022-security-patch-released.html
[1] apt changelog clamav-freshclam (for version 0.102.2+dfsg-1)

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 src/templates/freshclam.conf.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/templates/freshclam.conf.in b/src/templates/freshclam.conf.in
index 14e8573..b915511 100644
--- a/src/templates/freshclam.conf.in
+++ b/src/templates/freshclam.conf.in
@@ -11,7 +11,6 @@ DatabaseDirectory /var/lib/clamav/
 PidFile /var/run/clamav/freshclam.pid
 DatabaseMirror [% pmg.clamav.dbmirror %]
 ConnectTimeout 30
-ReceiveTimeout 30
 ScriptedUpdates [% IF pmg.clamav.scriptedupdates %]true[% ELSE %]false[% END %]
 CompressLocalDatabase no
 NotifyClamd /etc/clamav/clamd.conf
-- 
2.20.1




More information about the pmg-devel mailing list