ClamAV 0.98.5 released

The patch is not used anymore, because ClamAV included "foreground" support to their packages by default for systemd.

In my CentOS7 servers, using CB2 for updating ClamAV is still facing to '--nofork=yes' issue. Clamd could not start after compiling. If ClamAV includes support in their packages already, do you have any idea why the error is still remaining pls?

Thanks.
 
I think you're running an old version of CB 2.0. It's been fixed in rev. 1543.
 
I also have the same problem as gate2vn Martynas.

I'm on Version: 2.0.0 (rev: 1545)

Code:
systemctl status clamd.service
● clamd.service - Generic clamav scanner daemon
   Loaded: loaded (/etc/systemd/system/clamd.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Wed 2016-05-11 03:36:02 CEST; 6s ago
  Process: 116908 ExecStart=/usr/local/sbin/clamd --nofork=yes (code=exited, status=1/FAILURE)
  Process: 116905 ExecStartPre=/usr/bin/chown -R clamav:clamav /var/run/clamd (code=exited, status=0/SUCCESS)
  Process: 116902 ExecStartPre=/usr/bin/mkdir -p /var/run/clamd (code=exited, status=0/SUCCESS)
 Main PID: 116908 (code=exited, status=1/FAILURE)

May 11 03:36:02 server01.example.com systemd[1]: Unit clamd.service entered failed state.
May 11 03:36:02 server01.example.com systemd[1]: clamd.service failed.
May 11 03:36:02 server01.example.com systemd[1]: clamd.service holdoff time over, scheduling restart.
May 11 03:36:02 server01.example.com systemd[1]: start request repeated too quickly for clamd.service
May 11 03:36:02 server01.example.com systemd[1]: Failed to start Generic clamav scanner daemon.
May 11 03:36:02 server01.example.com systemd[1]: Unit clamd.service entered failed state.
May 11 03:36:02 server01.example.com systemd[1]: clamd.service failed.
May 11 03:36:06 server01.example.com systemd[1]: start request repeated too quickly for clamd.service
May 11 03:36:06 server01.example.com systemd[1]: Failed to start Generic clamav scanner daemon.
May 11 03:36:06 server01.example.com systemd[1]: clamd.service failed.
 
Back
Top