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

Re: SELinux not enabled



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 acm org>

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


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