[rhelv6-list] selinux question

Antonio Lopez cubodebits at gmail.com
Thu Dec 27 08:11:01 UTC 2012


Maybe yum reinstall related packages can help. Make a backup first of
/selinux, /etc/selinux. In any case, be sure your  software/packages are
updated and there is not another problem...

2012/12/27 solarflow99 <solarflow99 at gmail.com>

> I noticed I can't see to list any booleans because some files are missing:
>
> # semanage boolean -l
> libsemanage.semanage_read_policydb: Could not open kernel policy
> /etc/selinux/targeted/modules/active/policy.kern for reading. (No such
> file or directory).
> /usr/sbin/semanage: Could not test MLS enabled status
>
>
> and when I check, the files are in fact missing:
>
>
> # ls -l /etc/selinux/targeted/modules/active/
> total 12
> drwx------. 3 root root 4096 Oct 23 17:19 ./
> drwxr-xr-x. 3 root root 4096 Oct 23 17:19 ../
> drwx------. 2 root root 4096 Oct 23 17:19 modules/
>
> # ls -l /etc/selinux/targeted/modules/active/modules/
> total 8
> drwx------. 2 root root 4096 Oct 23 17:19 ./
> drwx------. 3 root root 4096 Oct 23 17:19 ../
>
>
>
>
> Anyone have an idea how this can be fixed?
>
>
> I'm using enforcing mode:
>
> # sestatus
> SELinux status:                 enabled
> SELinuxfs mount:                /selinux
> Current mode:                   enforcing
> Mode from config file:          enforcing
> Policy version:                 24
> Policy from config file:        targeted
>
>
>
>
> Thanks!
>
> _______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-list
>



-- 

*
*

“software is like sex, its better when its free”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20121227/a3ba1100/attachment.htm>


More information about the rhelv6-list mailing list