Selinux issue not solved after setting boolean
Posted: 2011/11/10 11:38:07
Hi All,
I have installed CentOS6 64bit version with selinux enabled (Enforce mode ). I would like to start mysql service with selinux enabled. In earlier versions of Centos if I run the comamnd, "setsebool -P mysqld_disable_trans=1 allow_user_mysql_connect=1", I can start the mysql.
But in CentOS 6 there are two booleans "allow_user_mysql_connect" and "mysql_connect_any" which are made to off, even mysql is not starting, unless I am setting the selinux to Permissive mode.
Is there any specific command to allow mysql to start, when Selinux is in Enforce mode.
Regards
Gopal
I have installed CentOS6 64bit version with selinux enabled (Enforce mode ). I would like to start mysql service with selinux enabled. In earlier versions of Centos if I run the comamnd, "setsebool -P mysqld_disable_trans=1 allow_user_mysql_connect=1", I can start the mysql.
But in CentOS 6 there are two booleans "allow_user_mysql_connect" and "mysql_connect_any" which are made to off, even mysql is not starting, unless I am setting the selinux to Permissive mode.
Is there any specific command to allow mysql to start, when Selinux is in Enforce mode.
Regards
Gopal