mysql with selinux

Rick Stevens rstevens at vitalstream.com
Wed Dec 6 20:56:06 UTC 2006


On Wed, 2006-12-06 at 13:58 -0600, olga at urbantimes.net wrote:
> Hi,
> 
> Does anyone know how to configure mysql to work with selinux? I am trying
> to start the server but it fails.
> 
> kernel: audit(1165435380.294:368): avc:  denied  { search } for  pid=24423
> comm="mysqld" name="/" dev=cciss/c0d0p1 ino=2
> scontext=user_u:system_r:mysqld_t
> tcontext=system_u:object_r:httpd_sys_content_t tclass=dir
> Dec  6 14:03:30 host1 mysqld: Starting MySQL:  failed

Have you tried feeding that to audit2why?

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-         If this is the first day of the rest of my life...         -
-                        I'm in BIG trouble!                         -
----------------------------------------------------------------------




More information about the fedora-list mailing list