[CentOS] mysqld and selinux

Craig White

craigwhite at azapple.com
Sat Nov 12 07:52:02 UTC 2005


CentOS 4 - updated to current, rebooted to new kernel and now I can't
get mysqld to start...

# service mysqld start
Timeout error occurred trying to start MySQL Daemon

#tail -n 4 /var/log/messages
Nov 12 00:48:56 srv1 kernel: audit(1131781736.221:4): avc:  denied
{ write } for  pid=4874 comm="mysqld" name="tmp" dev=dm-0 ino=2894305
scontext=root:system_r:mysqld_t tcontext=root:object_r:root_t tclass=dir
Nov 12 00:48:59 srv1 dbus: Can't send to audit system: USER_AVC pid=2839
uid=81 loginuid=-1 message=avc:  denied  { send_msg } for
scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tclass=dbus
Nov 12 00:49:04 srv1 dbus: Can't send to audit system: USER_AVC pid=2839
uid=81 loginuid=-1 message=avc:  denied  { send_msg } for
scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tclass=dbus
Nov 12 00:49:05 srv1 mysqld: Starting MySQL:  failed

hints?

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the CentOS mailing list