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

Re: MySQL custom datadir location - other daemons too



On 2007-04-22, Florin Andrei <florin 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


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