Skip to contentSkip to conversation

current selinux-usr incompatible with refpolicy-20060307?

DISCUSSION Todd Miller 2 participants 2 messages Sep 5, 2006 – Sep 6, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

In trying to build refpolicy-20060307 on an FC5 machine using an selinux userland with the following svn tags: checkpolicy_1_30_11 libselinux_1_30_27 libsemanage_1_6_15 libsepol_1_12_26 policycoreutils_1_30_28 I get this error:

/usr/bin/checkpolicy policy.conf -o policy.21
/usr/bin/checkpolicy: loading policy configuration from policy.conf libsepol.expand_terule_helper: duplicate TE rule for initrc_t insmod_exec_t:process insmod_t libsepol.expand_module: Error during expand
Error while expanding policy
make: *** [policy.21] Error 1

The selinux userland components that ship with FC5 are able to build the policy.conf into a binary file without problems. Is there a newer version of refpolicy that folks are using for development?

Thanks!

- todd

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 10 lines · Todd Miller

In trying to build refpolicy-20060307 on an FC5 machine using an selinux userland with the following svn tags: checkpolicy_1_30_11 libselinux_1_30_27 libsemanage_1_6_15 libsepol_1_12_26 policycoreutils_1_30_28 I get this error:

/usr/bin/checkpolicy policy.conf -o policy.21
/usr/bin/checkpolicy: loading policy configuration from policy.conf libsepol.expand_terule_helper: duplicate TE rule for initrc_t insmod_exec_t:process insmod_t libsepol.expand_module: Error during expand
Error while expanding policy
make: *** [policy.21] Error 1

The selinux userland components that ship with FC5 are able to build the policy.conf into a binary file without problems. Is there a newer version of refpolicy that folks are using for development?

The reference policy used to have a conflicting statement in an optional block of policy that was not caught due to a bug in the toolchain. The patchset is outlined in the following email:

http://marc.theaimsgroup.com/?l=selinux&m=115107448603049&w=2

You can always grab the latest snapshot of the reference policy using svn as described here:

http://oss.tresys.com/projects/refpolicy/wiki/SubversionCheckout

Signature · 6 lines
Darrel

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.