clamav-daemon won't start after upgrade to 0.100.1+dfsg, complaining of "Unknown option StatsEnabled"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Debian) |
Fix Released
|
Unknown
|
|||
clamav (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Leonidas S. Barbosa | ||
Trusty |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Xenial |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Bionic |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 16.04 LTS, clamav-daemon was upgraded 0.99.4+
# systemctl status clamav-daemon
● clamav-
Loaded: loaded (/lib/systemd/
Drop-In: /etc/systemd/
Active: failed (Result: exit-code) since Wed 2018-07-25 11:57:22 PDT; 1min 6s ago
Docs: man:clamd(8)
https:/
Process: 20017 ExecStart=
Process: 20013 ExecStartPre=
Process: 20008 ExecStartPre=
Main PID: 20017 (code=exited, status=1/FAILURE)
Jul 25 11:57:22 smtp4 systemd[1]: Starting Clam AntiVirus userspace daemon...
Jul 25 11:57:22 smtp4 mkdir[20008]: /bin/mkdir: cannot create directory ‘/run/clamav’: File exists
Jul 25 11:57:22 smtp4 systemd[1]: Started Clam AntiVirus userspace daemon.
Jul 25 11:57:22 smtp4 clamd[20017]: ERROR: Parse error at line 76: Unknown option StatsEnabled
Jul 25 11:57:22 smtp4 clamd[20017]: ERROR: Can't open/parse the config file /etc/clamav/
Jul 25 11:57:22 smtp4 systemd[1]: clamav-
Jul 25 11:57:22 smtp4 systemd[1]: clamav-
Jul 25 11:57:22 smtp4 systemd[1]: clamav-
The regression seems to have been introduced upstream: 0.99.4 supports StatsEnabled and related options in clamd.conf, whereas 0.100.0 dropped support for those directives. See https:/
/etc/clamav/
information type: | Public → Public Security |
tags: | added: regression-update xenial |
Changed in clamav (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Trusty): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Xenial): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Bionic): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Precise): | |
assignee: | nobody → Leonidas S. Barbosa (leosilvab) |
Changed in clamav (Debian): | |
status: | Unknown → Fix Released |
/etc/clamav/ clamd.conf is in fact supposed to get regenerated by the clamav-daemon postinst.
Could you please attach your /var/log/ dist-upgrade/ apt.log and /var/log/ dist-upgrade/ apt-term. log files?