Error compiling the fedora selinux policy

Daniel J Walsh dwalsh at redhat.com
Thu Dec 18 19:31:33 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vince Le Port wrote:
> 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
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
You need to read the spec file and see how it is building the source.

What exactly are you trying to do?   If you are trying to make small
changes to the policy you do not need to use the src rpm?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklKpRUACgkQrlYvE4MpobOhOgCguTS1pPHM1ls0xac90hOshjKW
P7kAn22Dwl/+k9FJzFQ72GvFMdCqaXLM
=1Zvm
-----END PGP SIGNATURE-----




More information about the fedora-selinux-list mailing list