Bug 1356525

Summary: Strange naming for /etc/clamd.d/scan.conf
Product: [Fedora] Fedora EPEL Reporter: Milan Kerslager <milan.kerslager>
Component: clamavAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: janfrode, mstevens, orion, redhat-bugzilla, rhbugs, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-20 17:08:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Kerslager 2016-07-14 10:12:12 UTC
In all examples on the Internet "How to configure ClamAV for RHEL/CentOS", there is /etc/clamd.d/clamd.conf file. But in current version (clamav-server-systemd-0.99.2-1.el7.noarch) of EPEL package there is /etc/clamd.d/scan.conf.

There is file /usr/lib/systemd/system/clamd for runnnig the daemon and in this file there is .include /lib/systemd/system/clamd@.service where %i to run with various config files:

ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf --foreground=yes

This is smart, but very confusing and breaks previous setups with clamd.conf

Please use only one file /usr/lib/systemd/system/clamd@.service and use /etc/clamd.d/clamd.conf in this file (as a lot of other services do in RHEL/CentOS).

This change will change what BZ #1356507 requires to fix.

Comment 1 Robert Scheck 2017-03-28 19:32:24 UTC
Not sure which examples you refer to, however the packaging layout of ClamAV
changed between EPEL 6 and 7. Additionally I fear that a single clamd.conf is
not enough to serve all use-cases out there, which are more that just a local
file scanner. Mentioned bug #1356507 should be fixed per clamav-0.99.2-8.el7.

Comment 2 Sergio Basto 2017-07-19 10:07:34 UTC
Hi,
also TL,DR, and same question , clamav-0.99.2-8 is in stable can we close this bug ?

Comment 3 Sergio Basto 2017-08-20 17:08:52 UTC
please reopen it if it not fixed .