X-IMail-SPAM-Connection SELinux

Daniel J Walsh dwalsh at redhat.com
Wed Feb 23 17:10:18 UTC 2005


Tzaia wrote:

>Hello List,
>
>I've got Fedora 3 set up with Mysql, php.  In order to access the Mysql database I had to 
>disable SELinux, which is not what I want to do.  What do I need to do in order to run 
>Mysql with SELinux on my websites?
>
>I know this is a huge problem because I googled the error messages I was getting and it 
>was only by trial and error that I discovered the reason why I couldn't write to a 
>configuration file and access mysql was because of SELinux.  I couldn't even connect 
>with mysql administrator (which supposedly doesn't work with the 3.x version) as a root 
>user on the system.
>  
>
Please update to latest policy, and reenable selinux.  You will need to 
relable the file system.

yum upgrade selinux-policy-targeted
touch /.autorelabel
reboot

>Any tutorials and/or insight?
>
>Thanks,
>
>Tzaia
>
>  
>




More information about the fedora-list mailing list