Bug 1381211
| Summary: | Update logrotate script for clamsmtp | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Nicolas Chauvet (kwizart) <kwizart> |
| Component: | clamsmtp | Assignee: | Nathanael Noblet <nathanael> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | extras-qa, janfrode, ms, nathanael, orion, redhat-bugzilla, rhbugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1376815 | Environment: | |
| Last Closed: | 2019-07-11 16:11:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1376815 | ||
| Bug Blocks: | |||
|
Description
Nicolas Chauvet (kwizart)
2016-10-03 12:27:40 UTC
Seems like the bug was initially created for the wrong component. The error comes from the logrotate file from clamsmtp project. So why was the bug cloned instead of just changing the component? (In reply to Orion Poplawski from comment #2) > So why was the bug cloned instead of just changing the component? Because the clamsmtp shoudl use the template from clamav-devel. So both clamav and clamsmtp have to be fixed. So I'm a little confused. The logrotate seems to output to dev/null
/var/log/clamd.clamsmtp/clamsmtpd.log {
monthly
notifempty
missingok
postrotate
kill -HUP `cat /run/clamd.clamsmtp/clamd.pid` 2 > /dev/null || :
endscript
}
What needs to happen with clamsmtpd?
kill -HUP `cat /run/clamd.clamsmtp/clamd.pid` > /dev/null 2>&1 || : currently only stderr goes to /dev/null. Seems fixed in current package |