Skip to contentSkip to conversation

Building MLS/MCS policy

refpolicy Guido Trentalancia 2 participants 3 messages Jan 25, 2010 – Jan 26, 2010

lore
Share & tools
lore
#0 lore raw

Hold on actually...

It rebooted with the same standard policy and not with the MCS policy.

Hmmm... This problem is persisting ! What should I do ?

Guido

#1 lore raw
Quoted 5 lines · Guido Trentalancia

Hold on actually...

It rebooted with the same standard policy and not with the MCS policy.

Hmmm... This problem is persisting ! What should I do ?

Yes, that makes sense - when libsemanage couldn't load the MCS policy, it rolled back to the previous one.

What you need to do is to install the MCS policy to a different policy store (change NAME= in build.conf), then change your /etc/selinux/config to point to that store, then reboot.

Signature · 2 lines
Stephen Smalley
National Security Agency
#2 lore raw
Quoted 5 lines · Stephen Smalley
Quoted 4 lines · Guido Trentalancia

Hold on actually...

It rebooted with the same standard policy and not with the MCS policy.

Quoted 8 lines
Quoted 1 line

Hmmm... This problem is persisting ! What should I do ?

Yes, that makes sense - when libsemanage couldn't load the MCS policy, it rolled back to the previous one.

What you need to do is to install the MCS policy to a different policy store (change NAME= in build.conf), then change your /etc/selinux/config to point to that store, then reboot.

Actually, there may be an easier way: you should be able to pass the -n option to semodule when installing the MCS policy, and then it won't try to load it. That should allow it to succeed, at which point you can reboot.

Signature · 2 lines
Stephen Smalley
National Security Agency