[Bug 262653] security/clamav: rc.d script does not allow for alternate database directory
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 262653] security/clamav: rc.d script does not allow for alternate database directory"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 262653] security/clamav: rc.d script does not allow for alternate database directory"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 262653] security/clamav: rc.d script does not allow for alternate database directory"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 262653] security/clamav: rc.d script does not allow for alternate database directory"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Mar 2022 20:14:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262653 Bug ID: 262653 Summary: security/clamav: rc.d script does not allow for alternate database directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yasu@freebsd.org Reporter: dave@jetcafe.org Assignee: yasu@freebsd.org Flags: maintainer-feedback?(yasu@freebsd.org) Created attachment 232559 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232559&action=edit This handles the issue The rc.d script has the clamav database path hardcoded into the script. If you change the database path in clamd.conf, the current rc.d script will effectively prevent clamd from running. I've attached my fix, making a new rc.conf variable to define where the database should go. I recognize that it's the same definition in two places (rc.conf and clamd.conf) but at least this version will be less surprising. An obvious improvement is to make the variable the value of DatabaseDirectory in ${PREFIX}/clamd.conf. -- You are receiving this mail because: You are the assignee for the bug.