| Summary: | app-antivirus/clamav logrotate script should rotate milter logs as well. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Philippe Chaintreuil <gentoo_bugs_peep> |
| Component: | Current packages | Assignee: | Antivirus Team <antivirus> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | net-mail+disabled |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I guess the logfix() function in the init script should fix the milter log as well. Marking this obsolete, as logrotate is no longer supported by the ebuild because clamav does its own log rotation. |
If the milter use flag is enabled, we should probably rotate the milter logs as well. I'll assume a simple addition of: ----------------------------------------------------------------------- /var/log/clamav/clamav-milter.log { missingok postrotate /etc/init.d/clamd logfix /bin/kill -HUP `cat /var/run/clamav/clamav-milter.pid 2> /dev/null` 2>/dev/null || true endscript } ----------------------------------------------------------------------- Would fix it.