Error compiling the fedora selinux policy

Vince Le Port vince.rafale at gmail.com
Thu Dec 18 14:48:43 UTC 2008


Hi list,

I have got a problem while compiling the fedora selinux policy sources.
Here is the way I do it :

#rpm -ivh selinux-policy-3.5.13-30.fc10.src.rpm
#cd rpmbuild/SPECS/
#rpmbuild -bp selinux-policy.spec
#cd ../BUILD/
#make install-src

I modified the build.conf in that way

TYPE = mcs
NAME = refpolicy
DISTRO = redhat
DIRECT_INITRC = n
MONOLITHIC = n
MLS_SENS = 16
MLS_CATS = 256
MCS_CATS = 1024
QUIET = n

#make conf
#make policy

and unhappily, I got the following error ..

/usr/bin/checkmodule:  loading policy configuration from base.conf
policy/modules/kernel/domain.te":97:ERROR 'unknown type userdomain' at
token ';' on line 9242:
        dontaudit domain userdomain:key search;

If I comment out this line, I got others errors, so it seems unending ..

How can I fix that ?
Is it normal that I have errors when compiling a fedora RPM ?

Regards,

Vince




More information about the fedora-selinux-list mailing list