Beware of breaking ClamAV-daemon when you update Debian
Beware of breaking ClamAV-daemon when you update Debian
After update Debian 8.5, clamav-daemon has failed to start on all servers.
I edited /etc/clamav/clamd.conf and comment
Also, fix permissions:
At the end, start clamav:
Not sure if commenting 'AllowSupplementaryGroups' will break something other, but I don't see other option right now.
I searched the net, nobody knows what is a substitution for this option.
If someone has better idea, please reply.
Code: Select all
root@mail:~# service clamav-daemon status
[x] clamav-daemon.service - Clam AntiVirus userspace daemon
Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled)
Active: failed (Result: start-limit) since Wed 2016-06-29 14:53:19 CEST; 17s ago
Docs: man:clamd(8)
man:clamd.conf(5)
http://www.clamav.net/lang/en/doc/
Process: 29660 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE)
Main PID: 29660 (code=exited, status=1/FAILURE)
Jun 29 14:53:19 my.server.host systemd[1]: Started Clam AntiVirus userspace daemon.
Jun 29 14:53:19 my.server.host clamd[29660]: ERROR: Parse error at line 11: Unknown option AllowSupplementaryGroups
Jun 29 14:53:19 my.server.host clamd[29660]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
Jun 29 14:53:19 my.server.host systemd[1]: clamav-daemon.service: main process exited, code=exited, status=1/FAILURE
Jun 29 14:53:19 my.server.host systemd[1]: Unit clamav-daemon.service entered failed state.
Jun 29 14:53:19 my.server.host systemd[1]: Starting Clam AntiVirus userspace daemon...
Jun 29 14:53:19 my.server.host systemd[1]: clamav-daemon.service start request repeated too quickly, refusing to start.
Jun 29 14:53:19 my.server.host systemd[1]: Failed to start Clam AntiVirus userspace daemon.
Code: Select all
# AllowSupplementaryGroups
Code: Select all
chown -R clamav:clamav /var/run/clamav
Code: Select all
service clamav-daemon start
I searched the net, nobody knows what is a substitution for this option.
If someone has better idea, please reply.
Re: Beware of breaking ClamAV-daemon when you update Debian
He said they fixed this bug on 06 Jun.
I noticed a bug on 29 Jun, with freshly updated and latest Debian.
I'm confused :)
However, they 'fixed' a bug by ignoring option, so, there is no better solution obviously.
I noticed a bug on 29 Jun, with freshly updated and latest Debian.
I'm confused :)
However, they 'fixed' a bug by ignoring option, so, there is no better solution obviously.
Re: Beware of breaking ClamAV-daemon when you update Debian
Freshly installed Debian, updated, and bug is still there.
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# cat /etc/debian_version
8.5
# service clamav-daemon status
...
Aug 15 02:55:50 mail.****.rs clamd[1780]: ERROR: Parse error at line 11: Unknown option AllowSupplementaryGroups
Aug 15 02:55:50 mail.****.rs clamd[1780]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# cat /etc/debian_version
8.5
# service clamav-daemon status
...
Aug 15 02:55:50 mail.****.rs clamd[1780]: ERROR: Parse error at line 11: Unknown option AllowSupplementaryGroups
Aug 15 02:55:50 mail.****.rs clamd[1780]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
Re: Beware of breaking ClamAV-daemon when you update Debian
Thank you very much! I've recovered my clamav by commenting this AllowSupplementaryGroups.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: Beware of breaking ClamAV-daemon when you update Debian
Today I also have problem: my clamav will not run!dpeca wrote: I edited /etc/clamav/clamd.conf and commentCode: Select all
# AllowSupplementaryGroups
After I used your trick ( I just set AllowSupplementaryGroups to "no" ), clamd runs properly!
Thank you.