Building MLS/MCS policy
Stephen,
I have now removed all custom modules that were installed. This had to be done manually with "semodule -r".
But then, I get this other error when I do "make load" (on the MLS/MCS policy):
SELinux: Could not load policy file /etc/selinux/refpolicy/policy/policy.24: Invalid argument /usr/sbin/load_policy: Can't load policy: Invalid argument libsemanage.semanage_reload_policy: load_policy returned error code 2. /usr/sbin/semodule: Failed!
Any other idea ?
Best regards,
Guido
Quoted 4 lines · Guido Trentalancia
Stephen,
I have now removed all custom modules that were installed. This had to be done manually with "semodule -r".
Quoted 8 lines
But then, I get this other error when I do "make load" (on the MLS/MCS policy):
SELinux: Could not load policy file
/etc/selinux/refpolicy/policy/policy.24: Invalid argument/usr/sbin/load_policy: Can't load policy: Invalid argument libsemanage.semanage_reload_policy:load_policyreturned error code 2./usr/sbin/semodule: Failed!Any other idea ?
Likely you've previously loaded a non-MLS policy into your kernel, and the kernel will not allow a non-MLS -> MLS (or vice versa) switch at runtime. You'll have to reboot to bring it up with the MLS-enabled policy.
Signature · 2 lines
Stephen Smalley National Security Agency