From nobody Thu Jun 22 05:16:09 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QmpVx5SNrz4gMND for ; Thu, 22 Jun 2023 05:16:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmpVw6LFRz3HGC for ; Thu, 22 Jun 2023 05:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687410968; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GA+Kcc60cvoBGGmPcVFd/NqHa5HiDngq55YiU2DQtXk=; b=nVg0G553iGHDmwqGRn5Gm9FSOpvxpBIi8K+4q1nEZLrmAz313v2c43V17z7mcW3bYu+p8U ++NtVVpydhNCB8FUCyDY5N5gNcIOx/mP2eeFQY0RhiWiXIRpDsfkYPwa44yAqUeW8xLm+F D6pVj7rwq6qVR/5MFNBPU+dpfrML0ZH6Lw5OsXBv1a5GMbf9Zx29Da2/yf371js+d7hEbw YrRJzpgf2oAlX1PzIuBFdtcUZmQkiY0sfmukUDSFtNXwljVQJdPhYmft7M+c+pjEKxaVdR upt2VmviqlJ5HlpmXZiKURwcH+ZQEL0z0Qm5m/Bz6d4uQndDQOh2vhEK2+4kug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687410968; a=rsa-sha256; cv=none; b=c/sqgTATKffncFKBw0FvcW0FD1+W+GUPrcjw86FNbmKvkRzU5J162RUvLcaEzwM2LfH3Ag n6lOiRGZJsuym1gjgdy/CG+v74hIz6J90DtSKoAqsVqS54TIp9OBMLADht0wALUPDDykAO s7BQ9mi+6l0o/cw7xIbFqn2TGg/XWbIfvW/+U2z0jSNX98wBnMpgYpBCWcSfjOmEF8h62t bFYuhC0a4URuHaT+XrQl6aSDTRoRIREK+Cpy6SBJsugWxAf1DH9pAwjHGXnxEDRpijpQte BdqcwlzQD9X4zOfGhaHHJlVd5sINJI669tX4pK7pvDAWTsww/AWsmpe4xTREOQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QmpVw5R3cz19tq for ; Thu, 22 Jun 2023 05:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35M5G8IW014309 for ; Thu, 22 Jun 2023 05:16:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35M5G8Z4014308 for ports-bugs@FreeBSD.org; Thu, 22 Jun 2023 05:16:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Thu, 22 Jun 2023 05:16:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: matt@tnpi.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262653 --- Comment #3 from Matt Simerson --- "An obvious improvement is to make the variable the value of DatabaseDirect= ory in ${PREFIX}/clamd.conf." Yes, that would be better! And it's easy enough to do: grep -i databasedirectory /data/etc/clamd.conf | awk '{ print $2 }' I'd also like to see a clamav_clamd_conf setting that is passed to clamd as= the -c option, so I can specify the path to clamd.conf and then the DB director= y is learned from the config file. --=20 You are receiving this mail because: You are the assignee for the bug.=