SELinux is furious about different mysql db location
Hiisi
hiisi at fedoraproject.org
Fri Jun 10 10:51:54 UTC 2011
On 10 June 2011 13:51, Dave Quigley <selinux at davequigley.com> wrote:
> On 6/10/2011 5:12 AM, Hiisi wrote:
<--SNIP-->
>
> Instead of doing the individual semanage commands on each file try this
> instead.
>
> semanage fcontext -ae /var/lib/mysql /srv/lib/mysql
> restorecon -Rv /srv/lib/mysql
>
> That should tell selinux that /var/lib/mysql and /srv/lib/mysql are to
> be treated the same and the restorecon should fix up the labels.
>
> Dave
Thank you, Dave! That did the trick.
--
Hiisi
More information about the users
mailing list