ImportError: No module named selinux
Daniel J Walsh
dwalsh at redhat.com
Fri May 25 10:10:09 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/24/2012 09:48 PM, Mr Dash Four wrote:
> I am trying to compile and build version 3.10.0-86 of the selinux policy,
> but during compilation I get the following:
>
> /usr/bin/semodule_expand tmp/test.lnk tmp/policy.bin
> /usr/bin/sepolgen-ifgen -p tmp/policy.bin -i policy -o tmp/output Traceback
> (most recent call last): File "/usr/bin/sepolgen-ifgen", line 34, in
> <module> import selinux ImportError: No module named selinux make: ***
> [validate] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.bEqivE
> (%install)
>
>
> RPM build errors: Bad exit status from /var/tmp/rpm-tmp.bEqivE (%install)
>
>
> What could be the cause for this? -- selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux
yum install libselinux-python
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+/WoEACgkQrlYvE4MpobNhkQCgp9HXM+rGX6qv/YzmACSsY2BO
hrUAoOtp6AFvRZaSNueSxUY3LiRTZ2Sc
=6EDL
-----END PGP SIGNATURE-----
More information about the selinux
mailing list