Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2022 20:14:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262653] security/clamav: rc.d script does not allow for alternate database directory
Message-ID:  <bug-262653-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262653

            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=3D232559&action=
=3Dedit
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.=20

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262653-7788>