Bugzilla – Bug 12104
Freshclam starts before network is online (systemd)
Last modified: 2019-07-05 16:31:19 EDT
The freshclam systemd service file (clamav-freshclam.service) contains no network-online dependency, causing freshclam to be started before the network is online. This in turn causes the first virus database update to fail. To solve the problem, the following lines should be added to the [Unit] section of clamav-freshclam.service: Wants=network-online.target After=network-online.target
Thanks for the report, and suggestion. Will investigate soon.
Patrick, We've added the lines that you recommended: https://github.com/Cisco-Talos/clamav-devel/commit/0ed66f1384df13c36a04947886294dc5cc7a44c4 Thanks for submitting the issue. Regards, Micah