Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#58059 - [clamav] Freshclam starts before network is online
Attached to Project:
Arch Linux
Opened by Patrick Smits (PS0) - Sunday, 01 April 2018, 08:59 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 22 October 2018, 19:50 GMT
Opened by Patrick Smits (PS0) - Sunday, 01 April 2018, 08:59 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 22 October 2018, 19:50 GMT
|
DetailsThe 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 Note that users should enable their network manager's wait-online service (e.g. netctl-wait-online.service) for this solution to work. Package version: 0.99.4-1 |
This task depends upon
Closed by Levente Polyak (anthraxx)
Monday, 22 October 2018, 19:50 GMT
Reason for closing: Implemented
Additional comments about closing: 0.100.2-2
Monday, 22 October 2018, 19:50 GMT
Reason for closing: Implemented
Additional comments about closing: 0.100.2-2
Ideally upstream should make such changes to the service file or perhaps adjust freshclam to use kernel routing table changes as a signal to retry.
Upstream report: https://bugzilla.clamav.net/show_bug.cgi?id=12104