Bug 960075
Summary: | SELinux is preventing /usr/libexec/postfix/smtpd from read, write access on the file /var/spool/postfix/pid/inet.10025. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul W. Frields <pfrields> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:41d0a577626b2c31ad356315f11bf08264dd1aeb3465658ec8ded350fe74de0e | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-18 11:20:48 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: |
Description
Paul W. Frields
2013-05-06 14:31:26 UTC
There may be some other file contexts associated with this problem. I also see SELinux errors for postfix's cleanup and smtp. commit c6b618c7b2dfc4099d0a217886312f05095c8d15 Author: Dan Walsh <dwalsh> Date: Mon May 6 15:57:47 2013 -0400 Allow postfix domains to manage postfix_var_run_t Under selinux-policy-targeted-3.12.1-42.fc19, still not working. However, if I use audit2allow to generate this .te and then install it as a module, things work as expected: module mypol-20130514 1.0; require { type postfix_local_t; type postfix_bounce_t; type postfix_smtpd_t; type postfix_smtp_t; type postfix_cleanup_t; type postfix_var_run_t; class file { read lock write getattr open }; } #============= postfix_bounce_t ============== allow postfix_bounce_t postfix_var_run_t:file { read write getattr open lock }; #============= postfix_cleanup_t ============== #!!!! This avc is allowed in the current policy allow postfix_cleanup_t postfix_var_run_t:file { read lock getattr write open }; #============= postfix_local_t ============== allow postfix_local_t postfix_var_run_t:file { read write getattr open lock }; #============= postfix_smtp_t ============== #!!!! This avc is allowed in the current policy allow postfix_smtp_t postfix_var_run_t:file { read lock getattr write open }; #============= postfix_smtpd_t ============== allow postfix_smtpd_t postfix_var_run_t:file { read write getattr open lock }; You need to use the latest builds which have allow postfix_domain postfix_var_run_t : file { ioctl read write create getattr setattr lock append unlink link rename open } Removed my custom module, and then tested in Enforcing mode with latest selinux-policy-targeted-3.12.1-44.fc19 -- working fine now. Thank you for the fast response Miroslav! This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |