[CentOS] selinux stuff - I just don't get

Peter Farrow peter at farrows.org
Mon Nov 14 10:42:50 UTC 2005


/etc/selinux/config

Change this line:

SELINUX=enforcing

to this:

SELINUX=disabled

You can then either reboot to make it take effect or:

echo 1 > /selinux/disable

Takes it completely out your hair and allows the system to work "properly"

Regards

Pete


Giovanni P. Tirloni wrote:

> Craig White wrote:
>
>> I am getting tons of these messages since I updated to 4.2
>>
>> Nov 12 12:21:39 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
>>
>> Now I can see this process...
>>
>> # ps aux|grep 2839
>> dbus      2839  0.0  0.3 16168 1888 ?        Ssl  Nov11   0:13 dbus-
>> daemon-1 --system
>> root     17173  0.0  0.1  3748  668 pts/2    S+   12:22   0:00 grep 2839
>>
>> but I'm wondering how do I fix selinux so that it doesn't 'deny' this?
>>
>> Thanks
>>
>> Craig
>>
>>
>
>  RHEL update 2 has introduced some changes in the audit system. Please 
> read the release notes (kernel changes) and it'll tell you how to 
> disable that.
>
>  http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release- \
>       notes/as-amd64/RELEASE-NOTES-U2-x86_64-en.html
>
>  http://www.crypt.gen.nz/selinux/faq.html
>
> Good luck,
>




More information about the CentOS mailing list