Skip to contentSkip to conversation

Building MLS/MCS policy

refpolicy Guido Trentalancia 2 participants 2 messages Jan 25, 2010

lore
Share & tools
lore
#0 lore raw

Stephen,

even if it is not strictly related to the previous problem with fmemopen_seek(), we discussed on that occasion about an MLS/MCS build...

It's not because of the whitespace in build.conf that I can't get MLS or MCS. The error that I get is, for example with TYPE=mcs:

libsepol.link_modules: Tried to link in a non-MLS module with an MLS base. (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).

Any idea ?

Regards,

Guido

#1 lore raw
Quoted 10 lines · Guido Trentalancia

Stephen,

even if it is not strictly related to the previous problem with fmemopen_seek(), we discussed on that occasion about an MLS/MCS build...

It's not because of the whitespace in build.conf that I can't get MLS or MCS. The error that I get is, for example with TYPE=mcs:

libsepol.link_modules: Tried to link in a non-MLS module with an MLS base. (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).

Any idea ?

Try rebuilding again after a make clean.
You may have left around non-MLS modules from your prior build with the incorrect TYPE= specifier and you can't have a mix of MLS and non-MLS modules.

Signature · 2 lines
Stephen Smalley
National Security Agency