i moved my database to a new partition and now i have problems starting the MySQL daemon.
i tried out:
Code: Select all
[root@dark ~]# semanage fcontext -a -t mysqld_db_t "/data/mysql(/.*)?"
[root@dark ~]# restorecon -Rv /data/mysql
Code: Select all
type=AVC msg=audit(1377089907.440:32411): avc: denied { getattr } for pid=7721 comm="mysqld" path="/data" dev=sdb3 ino=2 scontext=unconfined_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
When i start the daemon without selinux everything works well..
Can someone help me out here?
Greets,
Antonis.
