Re: SELinux not enabled

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

 



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@xxxxxxx>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux