MySQL custom datadir location - other daemons too
Jan-Frode Myklebust
janfrode at tanso.net
Sun Apr 22 21:22:07 UTC 2007
On 2007-04-22, Florin Andrei <florin at andrei.myip.org> wrote:
>>
>
> # grep /db /etc/fstab
> LABEL=/db /db ext3 defcontext=system_u:object_r:mysql_db_t:s0 1 2
>
> # tail -n 1 /var/log/messages
> Apr 22 13:38:34 reports kernel: SELinux:
> security_context_to_sid(system_u:object_r:mysql_db_t:s0) failed for (dev
> sdb1, type ext3) errno=-22
What about:
LABEL=/db /db ext3 fcontext=system_u:object_r:mysql_db_t:s0 1 2
or
LABEL=/db /db ext3 fcontext=system_u:object_r:mysql_db_t 1 2
?
-jf
More information about the fedora-selinux-list
mailing list