Hi Will

 

Given that CentOS 6.x use SysVInit rather than systemd, I think you're probably looking at something that's not entirely compatible with your needs.

 

For CentOS 6.x you need:

 

clamav

clamav-db

 

at minimum; if you want to be able to do daemon-based scanning (e.g. for a mail system) then you also need the 'clamd' package too.

 

Also, you have only a few days to the EOL of CentOS 6 - https://wiki.centos.org/About/Product

 

Graeme

 

From: clamav-users <clamav-users-bounces@lists.clamav.net> on behalf of Will Watters via clamav-users <clamav-users@lists.clamav.net>
Reply to: ClamAV users ML <clamav-users@lists.clamav.net>
Date: Wednesday, 25 November 2020 at 13:17
To: "clamav-users@lists.clamav.net" <clamav-users@lists.clamav.net>
Cc: Will Watters <willwatters@hotmail.com>
Subject: [clamav-users] clamav-scanner-systemd

 

Hello,

 

I'm using Ansible role (https://github.com/geerlingguy/ansible-role-clamav) to install Clamav on Centos 6.10, but it fails to install the clamav-scanner-systemd package, but works for Centos07.

 

Is there a specific package I should be using instead or does clamav package cover all of this?  

 

This is the task where it fails:

 

- name: Ensure ClamAV packages are installed.

  package: name={{ item }} state=present

  with_items: "{{ clamav_packages }}"

  register: clamav_packages_install

 

 

__clamav_packages:

  - clamav

  - clamav-update

  - clamav-scanner-systemd


Regards,

 

Will