SELinux not enabled

Sjoerd Mullender sjoerd at acm.org
Tue Apr 12 19:22:35 UTC 2005


Stephen Smalley wrote:
> On Tue, 2005-04-12 at 21:13 +0200, Sjoerd Mullender wrote:
> 
>>No:
>># /usr/sbin/load_policy /etc/selinux/targeted/policy/policy.18
>>load_policy: booleans.c:48: security_get_boolean_names: Assertion
>>`selinux_mnt' failed.
>>Aborted
> 
> 
> That suggests that /sbin/init didn't mount /selinux either.
> Try:
> 	mount -t selinuxfs none /selinux
> Then try running load_policy again.
> 
> /sbin/init is supposed to handle all of that for you.
> 

This works better.  I had to create /selinux first:
# mount -t selinuxfs none /selinux
mount: mount point /selinux does not exist
# mkdir /selinux
# mount -t selinuxfs none /selinux
# /usr/sbin/load_policy /etc/selinux/targeted/policy/policy.18
/usr/sbin/load_policy:  Warning!  Error while getting boolean names:
Success

Could that have been the problem (/selinux not being there)?

-- 
Sjoerd Mullender <sjoerd at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3931 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20050412/d4f71101/attachment.bin>


More information about the fedora-selinux-list mailing list