mysql not working after kernel update on fce with SELinux(second time post)

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

 



hey friends,

I recently installed FC3 on a machine and today I installed the new
kernel "2.6.11-1.35_FC3".Since then mysql has stopped working.The
problem is with SELinux.
If I disable the SELinux for mysqld ,the mysql starts working properly
and keeps on working properly ,but if I enable SELinux for mysqld and
then reboot the machine the problem starts.

 I have tried "restorecon -R /var/lib/mysql" "make -C
/etc/selinux/targeted/src/policy reload"
and also /.autorelabel. But nothing is working for me. I am using
MySql 4,I downloaded the rpms from the Mysql.com site.

Jul 25 13:05:31 linux kernel: audit(1122276931.895:2): avc:  denied  {
execmem } for  pid=3155 comm="httpd" scontext=user_u:system_r:httpd_t
tcontext=user_u:system_r:httpd_t tclass=process
Jul 25 13:05:31 linux kernel: audit(1122276931.908:3): avc:  denied  {
append } for  pid=3155 comm="httpd" name="php" dev=hda6 ino=80209
scontext=user_u:system_r:httpd_t tcontext=system_u:object_r:var_log_t
tclass=file
Jul 25 13:05:33 linux kernel: audit(1122276933.142:4): avc:  denied  {
execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.142:5): avc:  denied  {
execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.142:6): avc:  denied  {
execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.142:7): avc:  denied  {
execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.142:8): avc:  denied  {
execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.142:9): avc:  denied  {
execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.142:10): avc:  denied
{ execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.143:11): avc:  denied
{ execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.143:12): avc:  denied
{ execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.143:13): avc:  denied
{ execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process
Jul 25 13:05:33 linux kernel: audit(1122276933.143:14): avc:  denied
{ execmem } for  pid=3204 comm="mysqld"
scontext=user_u:system_r:mysqld_t tcontext=user_u:system_r:mysqld_t
tclass=process

-rw-rw----  mysql    mysql    system_u:object_r:mysqld_db_t    ibdata1
-rw-rw----  mysql    mysql    system_u:object_r:mysqld_db_t    ib_logfile0
-rw-rw----  mysql    mysql    system_u:object_r:mysqld_db_t    ib_logfile1
-rw-rw----  mysql    mysql    system_u:object_r:mysqld_db_t    linux-bin.000001
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000002
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000003
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000004
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000005
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000006
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000007
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000008
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000009
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000010
-rw-rw----  mysql    mysql    system_u:object_r:mysqld_db_t    linux-bin.000011
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000012
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000013
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000014
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000015
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000016
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000017
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000018
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000019
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000020
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000021
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000022
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000023
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000024
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000025
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000026
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000027
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000028
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000029
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000030
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000031
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000032
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000033
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000034
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000035
-rw-rw----  mysql    mysql    user_u:object_r:mysqld_db_t      linux-bin.000036
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000037
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000038
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t        linux-bin.000039
-rw-rw----  mysql    mysql    system_u:object_r:mysqld_db_t    linux-bin.index
-rw-rw----  mysql    root     system_u:object_r:mysqld_db_t
linux.sunup. net.err
-rw-rw----  mysql    mysql    root:object_r:mysqld_db_t
linux.sunup. net.pid
drwx--x--x  mysql    root     system_u:object_r:mysqld_db_t    mysql
srwxrwxrwx  mysql    mysql    root:object_r:mysqld_db_t        mysql.sock

Please help me.

Thanks & Regards

Ankush Grover


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux