Bug 1433464
| Summary: | SELinux prevent passenger_t from connecting to mysqldb_port_t | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Orion Poplawski <orion> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.13.1-177.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-10 12:28:17 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1393066 | ||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0763 |
Description of problem: type=AVC msg=audit(1489768671.674:182637): avc: denied { name_connect } for pid=12843 comm="ruby" dest=3306 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:mysqld_port_t:s0 tclass=tcp_socket However, default policy allows access to postgresql: # sesearch -s passenger_t -p name_connect -A -C allow passenger_t postgresql_port_t : tcp_socket name_connect ; allow passenger_t http_port_t : tcp_socket name_connect ; Seems like mysqld should be there too. Version-Release number of selected component (if applicable): selinux-policy-3.13.1-102.el7_3.15.noarch