adrs0061 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2009 Posts: 15
|
Posted: Tue Jun 09, 2009 6:11 am Post subject: SElinux application policies fail to merge [Solved] |
|
|
Hi
I'm trying to install SElinux on one of my Gentoo boxes (im using a selinxu hardened profile), I installed selinux-base-policy and the selinux userland successfully so far. The kernel has build in SElinux support ans /selinux is populated.
Code: |
>>> Unpacking source...
>>> Unpacking refpolicy-20080525.tar.bz2 to /var/portage_tmpdir/portage/sec-policy/selinux-openldap-20080525/work
>>> Source unpacked in /var/portage_tmpdir/portage/sec-policy/selinux-openldap-20080525/work
>>> Compiling source in /var/portage_tmpdir/portage/sec-policy/selinux-openldap-20080525/work/ ...
make: Entering directory `/var/portage_tmpdir/portage/sec-policy/selinux-openldap-20080525/work/strict'
/bin/sh: tmp/ldap.mod.fc: No such file or directory
make: *** [tmp/ldap.mod.fc] Error 1
make: Leaving directory `/var/portage_tmpdir/portage/sec-policy/selinux-openldap-20080525/work/strict'
*
* ERROR: sec-policy/selinux-openldap-20080525 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2296: Called selinux-policy-2_src_compile
* environment, line 2227: Called die
* The specific snippet of code:
* make NAME=$i -C ${S}/${i} || die "${i} compile failed";
* The die message:
* strict compile failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/sec-policy:selinux-openldap-20080525:20090609-060015.log'.
* The ebuild environment file is located at '/var/portage_tmpdir/portage/sec-policy/selinux-openldap-20080525/temp/environment'.
|
Does anybody got a hint for me?
The same error that the *.mod.fc can not be found happens with all other SElinux app policies as well.
[Edit]
I checked selinux-policy-2.eclass and called the exact same commands portage calls on the command line with success
[/Edit]
I hope that someone can share some insight into that matter, i hope i included all the needed information in this post, if not please make a note of it
Thanks in advance
*** Solved
I was able to solve the problem by setting my MAKEFLAGS in my make.conf from -j5 to -j1, it looks like compiling on several threads destroys the execution order of the Makefile |
|