Mysql Alert

Daniel J Walsh dwalsh at redhat.com
Mon Jan 11 16:32:40 UTC 2010


On 01/08/2010 09:08 PM, Mail Lists wrote:
> On 01/08/2010 05:47 AM, tony at specialistdevelopment.com wrote:
>> Hi Guys,
>>
> 
> They have added the 'equivalence' flag for this :
> 
>     semanage fcontext -a -e /var/lib/mysql /db01/mysql
> 
>     restorecon -R  /db01/mysql
> 
> 
>    regards,
> 
> 
>    gene/
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
> 
> 
You really want to do this at one level higher.


semanage fcontext -a -e /var/lib/mysql /db01

Otherwise /db01 would be labeled default_t and mysql would not be able to search through it.


More information about the selinux mailing list