MySQL custom datadir location - other daemons too

Florin Andrei florin at andrei.myip.org
Sun Apr 22 23:21:51 UTC 2007


Jan-Frode Myklebust wrote:
> 
> 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
> 
>     ?

You mean "fscontext"?

I can't test it now, as the system is busy swallowing a huge pile of 
logs, but I think fscontext changed the context of all files underneath 
the mount point. I don't want that, I just want to change the context at 
the top and leave the rest of the filesystem unchanged.

-- 
Florin Andrei

http://florin.myip.org/




More information about the fedora-selinux-list mailing list