[Bug 236622] security/clamav clamd will not run as root if the option is set in /usr/local/etc/clamd.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Mar 2026 00:01:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236622

--- Comment #2 from Torsten Zuehlsdorff <tz@freebsd.org> ---
I am closing this bug. The rc.d script defaulting to the clamav user is
intentional security behavior, and the documented workaround (setting
clamav_clamd_user="root" in /etc/rc.conf) is the correct way to override it.
ClamAV has been extensively reworked and is now at version 1.5.2. Running clamd
as root is a discouraged configuration. No patch was submitted and no activity
since 2021.

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