[Bug 259585] security/clamav : Cannot start clamd if there is no /var/run/clamav directory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 09:22:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259585 Bug ID: 259585 Summary: security/clamav : Cannot start clamd if there is no /var/run/clamav 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: monwarez@mailoo.org Flags: maintainer-feedback?(yasu@freebsd.org) Assignee: yasu@freebsd.org Since the last update, clamd services will not start if there is no /var/run/clamav directory. By looking at the last update changelog: * Stop checking in rc scripts if /var/run/clamav exists This seems to be the issue. Adding in clamav-clamd in the precmd() if [ ! -d /var/run/clamav ]; then install \ -d \ -o clamav \ -g clamav \ -m 0770 \ /var/run/clamav fi Will allow the services to start, and user in the clamav group will be able to access the clamd socket. Since clamav-freshclam and clamav-milter depends on clamav-clamd they don't need to check for the directory. -- You are receiving this mail because: You are the assignee for the bug.