Re: Mysql Alert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/08/2010 09:08 PM, Mail Lists wrote:
> On 01/08/2010 05:47 AM, tony@xxxxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxx
> 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.
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux