Bug 757055
Summary: | qpidd broker triggers SELinux AVCs avc: denied { name_connect } for pid=2088 comm="qpidd" dest=5672 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:amqp_port_t:s0 tclass=tcp_socket | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Stanislav Graf <sgraf> |
Component: | qpid-cpp | Assignee: | Kim van der Riet <kim.vdriet> |
Status: | CLOSED WORKSFORME | QA Contact: | Frantisek Reznicek <freznice> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.1 | CC: | dwalsh, esammons, freznice, iboverma, jross, mgrepl, ppecka |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-15 19:10:37 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
Stanislav Graf
2011-11-25 11:23:58 UTC
The steps to reproduce are from Bug 756939. I mistyped. I was able to reproduce this one using qpid-route: <dest-broker># qpid-route link add <dest-broker> <src-broker> [10:29:22] ecode=0 <dest-broker># cat /var/log/audit/audit.log | grep type=AVC type=AVC msg=audit(1323163763.507:42319): avc: denied { name_connect } for pid=1719 comm="qpidd" dest=5672 scontext=system_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:amqp_port_t:s0 tclass=tcp_socket # sealert -l bc54ba02-f12b-455b-886c-2c21d0a346ef SELinux is preventing qpidd from name_connect access on the tcp_socket port 5672. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that qpidd should be allowed name_connect access on the port 5672 tcp_socket by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep qpidd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp The issue has been resolved. See bug 791294 comment 8 and bug 786467 comment 15. -> VERIFIED |