Thanks for the feedback.

Are you aware of an Ansible ClamAV install and configure role that will work for Centos 6 as most only seem to support Centos 7?

Regards,

Will


From: Andrew C Aitchison <andrew@aitchison.me.uk>
Sent: 25 November 2020 14:20
To: Will Watters via clamav-users <clamav-users@lists.clamav.net>
Cc: Will Watters <willwatters@hotmail.com>
Subject: Re: [clamav-users] clamav-scanner-systemd
 
On Wed, 25 Nov 2020, Will Watters via clamav-users wrote:

> 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

CentOS 6 (and RHEL 6, Scientific Linux 6 etc.) don't use systemd
(at least by default).

Also the 2.6.32 kernels don't support the features needed for on-access
scanning (the elrepo kernel-lt packages may work).

More significantly, CentOS 6 support ends on Monday
https://centosfaq.org/centos/reminder-centos-6-eol-on-30-november-2020/
(RHEL6 was released on 10 Nov 2010, so you have had ten years ...)

--
Andrew C. Aitchison                                     Kendal, UK
                         andrew@aitchison.me.uk