Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SElinux application policies fail to merge [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
adrs0061
n00b
n00b


Joined: 08 Jun 2009
Posts: 15

PostPosted: Tue Jun 09, 2009 6:11 am    Post subject: SElinux application policies fail to merge [Solved] Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum