Public bug reported: The postinst script for the Ubuntu 18.04 clamav-freshclam 0.103.2 package creates a default freshclam.conf file with "ReceiveTimeout=30". At least for me, this was too short to be able to download the initial virus definition files. With the recent rate limiting on ClamAV's servers, this lead to me hitting the limit very soon after installing, before I'd even figured out what was wrong. Although my Internet connection isn't fantastic, it's not particularly bad either (16Mbps). Even 60 seconds wasn't enough; I ended up setting it to 600, although something lower may have been fine.
Having raised this on the ClamAV mailing list, it was noted that the equivalent Ubuntu 20.04 package sets "ReceiveTimeout=0" (no timeout). Perhaps the Ubuntu 18.04 package should also disable the timeout by default? The Ubuntu 16.04 package also sets a 30 second timeout by default, so if that's still being updated it may be worth considering there too. ** Affects: clamav (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927777 Title: Ubuntu 18.04 clamav-freshclam default configuration has too short a timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1927777/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs