Bug 1356525 - Strange naming for /etc/clamd.d/scan.conf
Summary: Strange naming for /etc/clamd.d/scan.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: clamav
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-14 10:12 UTC by Milan Kerslager
Modified: 2017-08-20 17:08 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-20 17:08:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 .


Note You need to log in before you can comment on or make changes to this bug.