2010-01-25 20:49:19

by Guido Trentalancia

[permalink] [raw]
Subject: [refpolicy] Building MLS/MCS policy

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


2010-01-25 21:04:14

by Stephen Smalley

[permalink] [raw]
Subject: [refpolicy] Building MLS/MCS policy

On Mon, 2010-01-25 at 21:49 +0100, Guido Trentalancia wrote:
> 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.

--
Stephen Smalley
National Security Agency