fc3 yum mysqld SELinux

From: William Deans (deans_at_wdeans.com)
Date: 01/31/05


Date: Mon, 31 Jan 2005 11:29:58 -0500

Greetings,

I installed FC3, then updated with yum and now I am having problems with
mysql/SELinux. (please see erros below)

a) Is SELinux (on by default) here to stay in future versions of Fedora? I
understand that I can turn it off but prefer not to if I am going to have to
deal with it eventually.
b) What do I need to do to fix the current mess I am in (prefer not to
reinstall if I can help it)?
c) If mysql is having trouble perhaps many other applications updated with
yum are having trouble as well? If I cannot use yum what am I suppose to
use? Would up2date have given me these same problems?

Thank you for your time and energy,
William

====================================
Installed FC3
...
# yum -y update
. . .
# service mysqld start
/etc/selinux/targeted/contexts/files/file_contexts: line 141 has invalid
context system_u:object_r:xconsole_device_t
/etc/selinux/targeted/contexts/files/file_contexts: line 223 has invalid
context system_u:object_r:power_device_t
/etc/selinux/targeted/contexts/files/file_contexts: line 577 has invalid
context system_u:object_r:httpd_squirrelmail_t
/etc/selinux/targeted/contexts/files/file_contexts: line 578 has invalid
context system_u:object_r:squirrelmail_spool_t
/etc/selinux/targeted/contexts/files/file_contexts: line 579 has invalid
context system_u:object_r:httpd_helper_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 629 has invalid
context system_u:object_r:ldconfig_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 663 has invalid
context system_u:object_r:sendmail_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 664 has invalid
context system_u:object_r:sendmail_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 670 has invalid
context system_u:object_r:mysqld_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 671 has invalid
context system_u:object_r:mysqld_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 672 has invalid
context system_u:object_r:mysqld_var_run_t
/etc/selinux/targeted/contexts/files/file_contexts: line 673 has invalid
context system_u:object_r:mysqld_log_t
/etc/selinux/targeted/contexts/files/file_contexts: line 674 has invalid
context system_u:object_r:mysqld_db_t
/etc/selinux/targeted/contexts/files/file_contexts: line 675 has invalid
context system_u:object_r:mysqld_var_run_t
/etc/selinux/targeted/contexts/files/file_contexts: line 676 has invalid
context system_u:object_r:mysqld_etc_t
/etc/selinux/targeted/contexts/files/file_contexts: line 677 has invalid
context system_u:object_r:mysqld_etc_t
/etc/selinux/targeted/contexts/files/file_contexts: line 719 has invalid
context system_u:object_r:ntpdate_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 730 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 731 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 732 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 733 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 734 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 737 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 738 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 739 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 740 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 741 has invalid
context system_u:object_r:postgresql_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 743 has invalid
context system_u:object_r:postgresql_db_t
/etc/selinux/targeted/contexts/files/file_contexts: line 744 has invalid
context system_u:object_r:postgresql_db_t
/etc/selinux/targeted/contexts/files/file_contexts: line 745 has invalid
context system_u:object_r:postgresql_var_run_t
/etc/selinux/targeted/contexts/files/file_contexts: line 746 has invalid
context system_u:object_r:postgresql_etc_t
/etc/selinux/targeted/contexts/files/file_contexts: line 747 has invalid
context system_u:object_r:postgresql_log_t
/etc/selinux/targeted/contexts/files/file_contexts: line 748 has invalid
context system_u:object_r:postgresql_log_t
/etc/selinux/targeted/contexts/files/file_contexts: line 805 has invalid
context system_u:object_r:winbind_exec_t
/etc/selinux/targeted/contexts/files/file_contexts: line 806 has invalid
context system_u:object_r:winbind_var_run_t
/etc/selinux/targeted/contexts/files/file_contexts: line 808 has invalid
context system_u:object_r:samba_log_t
/etc/selinux/targeted/contexts/files/file_contexts: line 809 has invalid
context system_u:object_r:samba_etc_t
/etc/selinux/targeted/contexts/files/file_contexts: line 810 has invalid
context system_u:object_r:samba_secrets_t
/etc/selinux/targeted/contexts/files/file_contexts: line 811 has invalid
context system_u:object_r:samba_secrets_t
/etc/selinux/targeted/contexts/files/file_contexts: line 812 has invalid
context system_u:object_r:samba_var_t
/etc/selinux/targeted/contexts/files/file_contexts: line 814 has invalid
context system_u:object_r:winbind_var_run_t
Starting MySQL: [ OK ]



Relevant Pages

  • yum, FC3, SELinux, mysql error -- help please
    ... I posted this in another newsgroup alt.os.linux.redhat --- what is the ... I installed FC3, then updated with yum and now I am having problems with ... yum are having trouble as well? ...
    (linux.redhat)
  • Re: How to merge multipel yum caches and cache portability
    ... >>I just installed FC3, and haven't spend almost the entire day ... but yum handles that OK. ... >Can sync updates directory with a mirror server, ... Do I adjust the yum congs to only have my repo? ...
    (Fedora)
  • Re: How best get rid of SELinux?
    ... warning in the installer against eliminating it; but it keeps making all kinds of trouble, ... Can I just command "yum remove selinux"? ...
    (Fedora)
  • Re: How best get rid of SELinux?
    ... kinds of trouble, anyway. ... Can I just command "yum remove selinux"? ...
    (Fedora)
  • crashes on "new" FC3 install
    ... I installed FC3 recently and things were running just fine. ... that (although it could be a coincidence) that since I updated the ... kernel via yum that, when running with a load, the system crashes. ... there a known kernel problem or other instability with updated FC3? ...
    (Fedora)