Bug 446975
Summary: | spamass-milter pid file denials | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas J. Baker <tjb> |
Component: | spamass-milter | Assignee: | Paul Howarth <paul> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.3.1-13.fc9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-04-23 10:18:03 UTC | Type: | --- |
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: | 483849 | ||
Bug Blocks: |
Description
Thomas J. Baker
2008-05-16 19:47:31 UTC
Why is spamd trying to write a pid file owened by spamass-milter? From the avc, spamass-milter is what's being run and trying to write the pid file. It has a spamd context: [root@freeside tjb]# restorecon -v /usr/sbin/spamass-milter [root@freeside tjb]# ls -lZ /usr/sbin/spamass-milter -rwxr-xr-x root root system_u:object_r:spamd_exec_t:s0 /usr/sbin/spamass-milter [root@freeside tjb]# The problem here is the initrc is creating the pid file with the wrong context. The init script should either allow the daemon to create the pid file or run restorecon after it creates it. Using my new spamass-milter policy should help: https://bugzilla.redhat.com/show_bug.cgi?id=452248#c11 I've created a separate ticket (Bug #483849) requesting that my milter policy module be merged into F-9 and F-10 policy (it is already upstream and in Rawhide). The policy update would fix more than just this bug. spamass-milter-0.3.1-13.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-13.fc10 spamass-milter-0.3.1-13.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-13.fc9 spamass-milter-0.3.1-13.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. spamass-milter-0.3.1-13.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |