Bug 1147738
Summary: | SELinux blocks swift's access to ephemeral ports | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Su <rwsu> | ||||
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||
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, mmalik | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | selinux-policy-3.12.1-189.fc20 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-10-16 02:01:00 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: |
|
Should swift_can_network boolean be used here? commit a8b80da5c88bb4e26473a22a9fcc5abe3cadb251 Author: Miroslav Grepl <mgrepl> Date: Fri Oct 3 11:29:48 2014 +0200 Allow swift to connect to all ephemeral ports by default. selinux-policy-3.12.1-189.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-189.fc20 Package selinux-policy-3.12.1-189.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-189.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12350/selinux-policy-3.12.1-189.fc20 then log in and leave karma (feedback). selinux-policy-3.12.1-189.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 942555 [details] audit.log Description of problem: Upstream swift is now using ephemeral ports. type=AVC msg=audit(1411756364.896:5765): avc: denied { name_connect } for pid=10073 comm="swift-object-se" dest=56420 scontext=system_u:system_r:swift_t:s0 tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket type=AVC msg=audit(1411756391.224:6246): avc: denied { name_connect } for pid=9938 comm="swift-object-re" dest=47392 scontext=system_u:system_r:swift_t:s0 tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket Can we update the policy to allow swift access to them? Version-Release number of selected component (if applicable): selinux-policy-3.12.1-183.fc20.noarch selinux-policy-targeted-3.12.1-183.fc20.noarch How reproducible: always Steps to Reproduce: 1. Deploy tripleo overcloud Actual results: Swift denied access to ephemeral ports Expected results: Swift allowed access to ephemeral ports Additional info: