SELinux prevents httpd from connecting to 3306
Closed this issue · 2 comments
gondoi commented
When running MySQL remotely, SELinux prevents httpd from connecting to outgoing port 3306. To allow this connection the following command needs to be run
# setsebool -P httpd_can_network_connect_db 1
Do we have a preferred way to manipulate SELinux state in chef, or just run execute
?
gondoi commented
Found this cookbook for potential usage: https://github.com/skottler/selinux