[rhelv6-list] selinux question

solarflow99 solarflow99 at gmail.com
Thu Dec 27 16:35:33 UTC 2012


On Thu, Dec 27, 2012 at 4:30 AM, John Haxby <john.haxby at gmail.com> wrote:
>
>
> On 27 December 2012 04:36, solarflow99 <solarflow99 at gmail.com> wrote:
>>
>> # 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 believe those files are created by the selinux-policy-targeted postinstall
> scriptlet.   You can either pull that out and re-run it or just reinstall
> the RPM.   I guess you might want to relabel everything again and get the
> anglepoise lamp out to find out who removed the missing files.


Thanks, that seems to have fixed it.  strange..




More information about the rhelv6-list mailing list