Bug 438234 - [RHEL5.2] selinux-policy Can no longer compile policys
[RHEL5.2] selinux-policy Can no longer compile policys
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
low Severity urgent
: rc
: ---
Assigned To: Daniel Walsh
: Regression, TestBlocker
Depends On:
  Show dependency treegraph
Reported: 2008-03-19 15:52 EDT by Jeff Burke
Modified: 2008-05-21 12:10 EDT (History)
5 users (show)

See Also:
Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 12:10:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jeff Burke 2008-03-19 15:52:59 EDT
Description of problem:
 ibsepol.link_modules: Tried to link in a non-MLS module with an MLS base.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Try to build a selinux policy 
Actual results:

Compiling targeted test_policy module
/usr/bin/checkmodule:  loading policy configuration from tmp/test_policy.tmp
/usr/bin/checkmodule:  policy configuration loaded
/usr/bin/checkmodule:  writing binary representation (version 6) to
Creating targeted test_policy.pp policy package
rm tmp/test_policy.mod tmp/test_policy.mod.fc
make[2]: Leaving directory `/usr/share/selinux/devel'
libsepol.link_modules: Tried to link in a non-MLS module with an MLS base.
libsemanage.semanage_link_sandbox: Link packages failed
/usr/sbin/semodule:  Failed!
make[1]: *** [load] Error 1
make[1]: Leaving directory
Failed to build and load test_policy module, aborting test run.

Expected results:
 seliux-target-devel should allow use to build policy files

Additional info:
Comment 1 Eric Paris 2008-03-19 15:55:46 EDT
I am guessing this is build root without /selinux mounted?  If so you have to
tell it to build with MLS extentions

make TYPE=targeted-mcs -F /usr/share/seliunux/devel
Comment 2 Daniel Walsh 2008-03-19 16:23:06 EDT
This needs to be fixed.
This is a bug in the Makefile used to compile policy modules.
Comment 4 Daniel Walsh 2008-03-20 12:02:10 EDT
Fixed in selinux-policy-2.4.6-126.el5.src.rpm
Comment 9 errata-xmlrpc 2008-05-21 12:10:31 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.