SELinux not enabled

Stephen Smalley sds at tycho.nsa.gov
Tue Apr 12 18:59:00 UTC 2005


On Tue, 2005-04-12 at 20:53 +0200, Sjoerd Mullender wrote:
> # dmesg | grep -i selinux
> SELinux:  Initializing.
> SELinux:  Starting in permissive mode
> selinux_register_security:  Registering secondary module capability
> SELinux:  Registering netfilter hooks
> # setenforce Permissive
> setenforce: SELinux is disabled
> 
> Note that there is a lot of stuff missing from the dmesg output (I
> compared this with a system where it does work).

This suggests that policy was never loaded by /sbin/init.  What is
in /etc/selinux/targeted/policy?  Can you load it by hand,
i.e. /usr/sbin/load_policy /etc/selinux/targeted/policy/policy.<version>?

-- 
Stephen Smalley <sds at tycho.nsa.gov>
National Security Agency




More information about the fedora-selinux-list mailing list