Public bug reported:
On Ubuntu 16.04 LTS, clamav-daemon was upgraded 0.99.4+addedllvm-
0ubuntu0.16.04.1 to 0.100.1+dfsg-1ubuntu0.16.04.1 as part of USN 3722-1
(https://usn.ubuntu.com/3722-1/). After the upgrade clamav-daemon fails
to restart:
# systemctl status clamav-daemon
● clamav-daemon.service - Clam AntiVirus userspace daemon
Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor
preset: enabled)
Drop-In: /etc/systemd/system/clamav-daemon.service.d
└─extend.conf
Active: failed (Result: exit-code) since Wed 2018-07-25 11:57:22 PDT; 1min
6s ago
Docs: man:clamd(8)
man:clamd.conf(5)
https://www.clamav.net/documents/
Process: 20017 ExecStart=/usr/sbin/clamd --foreground=true (code=exited,
status=1/FAILURE)
Process: 20013 ExecStartPre=/bin/chown clamav /run/clamav (code=exited,
status=0/SUCCESS)
Process: 20008 ExecStartPre=/bin/mkdir /run/clamav (code=exited,
status=1/FAILURE)
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/clamd.conf
Jul 25 11:57:22 smtp4 systemd[1]: clamav-daemon.service: Main process exited,
code=exited, status=1/FAILURE
Jul 25 11:57:22 smtp4 systemd[1]: clamav-daemon.service: Unit entered failed
state.
Jul 25 11:57:22 smtp4 systemd[1]: clamav-daemon.service: Failed with result
'exit-code'.
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://github.com/Cisco-Talos/clamav-devel/commit/16bd67 .
/etc/clamav/clamd.conf could be regenerated programmatically, but that
was not automatically done as part of the upgrade. I'm filing this as
an Ubuntu bug because a security upgrade should never cause a production
server to break, and because USN 3722-1 never mentions the possibility
of such breakage.
** 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/1783632
Title:
clamav-daemon won't start after upgrade to 0.100.1+dfsg, complaining
of "Unknown option StatsEnabled"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1783632/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs