Re: ImportError: No module named selinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxxxxxxxxxxxxxxx 
> 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-----
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux