From: sds@tycho.nsa.gov (Stephen Smalley) Date: Mon, 25 Jan 2010 16:04:14 -0500 Subject: [refpolicy] Building MLS/MCS policy In-Reply-To: <201001252049.o0PKnJcq018340@vivaldi39.register.it> References: <201001252049.o0PKnJcq018340@vivaldi39.register.it> Message-ID: <1264453454.4297.242.camel@moss-pluto.epoch.ncsc.mil> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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