Bug 1177016
| Summary: | SELinux: rabbitmq-server cannot read symlink under /var/log | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard Su <rwsu> | ||||
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | selinux-policy-3.12.1-197.fc20 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-03-10 00:56:01 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: | |||||||
| Attachments: |
|
||||||
8785ea14c22ed24cc702343a7e94f45c016f4c15 fixes this in git. commit 97437211df570ad3e4e07173fd2c8668df3e8969
Author: Dan Walsh <dwalsh>
Date: Fri Jan 2 07:22:17 2015 -0500
Allow rabbitmq_t to deal with link files created with its content
selinux-policy-3.12.1-197.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-197.fc20 Package selinux-policy-3.12.1-197.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-197.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1398/selinux-policy-3.12.1-197.fc20 then log in and leave karma (feedback). selinux-policy-3.12.1-197.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 972509 [details] audit.log Description of problem: When /var/log/rabbitmq is a symlink to another directory, SELinux denies rabbitmq-server read access. Version-Release number of selected component (if applicable): rabbitmq-server-3.1.5-10.fc20.noarch selinux-policy-targeted-3.12.1-196.fc20.noarch How reproducible: always Steps to Reproduce: 1. Run tripleo devtest.sh Actual results: Rabbitmq denials logged. Expected results: No rabbitmq denials logged. Additional info: type=AVC msg=audit(1418940398.541:242): avc: denied { read } for pid=6408 comm="beam" name="rabbitmq" dev="sda2" ino=62102 scontext=system_u:system_r:rabbitmq_t:s0 tcontext=unconfined_u:object_r:rabbitmq_var_log_t:s0 tclass=lnk_file permissive=1