Bug 1940918 - Allow custom arguments to freshclam
Summary: Allow custom arguments to freshclam
Keywords:
Status: CLOSED EOL
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: 2021-03-19 14:34 UTC by Kenneth Porter
Modified: 2024-07-09 03:31 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 03:31:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kenneth Porter 2021-03-19 14:34:47 UTC
I have need to pass "--update-db=custom" to freshclam because my hosting provider is rate-limited in getting AV database updates and I want to limit freshclam to using DatabaseCustomURL. Neither freshclam-sleep nor clamav-freshclam.service have that ability. I suggest adding a FRESHCLAM_OPTIONS variable in sysconfig for this purpose. If I edit the service files directly, they'll get silently overwritten by the next update.

Comment 1 Orion Poplawski 2021-03-20 02:54:30 UTC
Checkout systemctl edit freshclam.service - which creates an override in /etc/systemd/system/freshclam.service.d/custom.conf  - but an options file isn't a bad idea either.

Comment 2 Kenneth Porter 2021-03-20 12:11:59 UTC
Good point. I could switch from the old cron-based freshclam-sleep to the systemd unit file and completely replace the ExecStart value with a different command line.

Comment 3 Troy Dawson 2024-07-09 03:31:20 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.


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