Summary: | =app-antivirus/clamav-1.2.1: clamd init script reporting as crashed (but running) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fitzcarraldo <fitzcarraldo1> |
Component: | Current packages | Assignee: | Antivirus Team <antivirus> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | egor-gl, hydrapolic, kangie, mjo, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Fitzcarraldo
2023-12-30 14:14:58 UTC
(In reply to Fitzcarraldo from comment #0) > > I looked in /etc/init.d/clamd and noticed the line: > > pidfile="/run/${RC_SVCNAME}.pid" > > However, for this version of clamav (and any earlier versions after upstream > changed the pid file location) it should be: > > pidfile="/run/clamav/${RC_SVCNAME}.pid" > > I edited /etc/init.d/clamd and changed the line as shown above, then > restarted clamd: Upstream didn't change the default, they only changed a comment in config file -- the Gentoo ebuild uncomments it. But, the new (commented) location is insecure: https://github.com/Cisco-Talos/clamav/issues/1076 The old value of /run/${RC_SVCNAME}.pid is correct. The newer ebuilds should be tweaked to use it rather than the commented-out line from upstream. |