2008-09-01 15:15:22

by kindloaf

[permalink] [raw]
Subject: [refpolicy] Refpolicy Compilation Error in Ubuntu 8.04

Hi,

I am trying to compile refpolicy-0.0.20071214 under ubuntu 8.04. I got the
source for refpolicy by executing:
`apt-get source refpolicy`
And then under directory ./refpolicy-0.0.20071214, I did:
`make conf`
`make policy`

Then I found the following warning and error:

===================================================
WARNING: Policy version mismatch! Is your OUTPUT_POLICY set correctly?

/usr/bin/checkpolicy policy.conf -o policy.22
/usr/bin/checkpolicy: loading policy configuration from policy.conf
policy/modules/kernel/kernel.te":225:ERROR 'syntax error' at token
'corenet_raw_send_multicast_node' on line 15686:
corenet_raw_send_multicast_node(kernel_t)
===================================================

So did I download the correct source? In the source I downloaded, there is
also `refpolicy_0.0.20071214.orig.tar.gz`. I assume that is the source for
the original refpolicy, not the one tailored for ubuntu.

Thanks,
Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20080901/275ea74c/attachment.html