Red Hat Bugzilla – Bug 1433464
SELinux prevent passenger_t from connecting to mysqldb_port_t
Last modified: 2018-04-10 08:29:13 EDT
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
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