Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 467268

Summary: <sys-apps/policycoreutils-2.1.14-r2 sepolicy requires yum python bindings
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: SELinuxAssignee: Sven Vermeulen (RETIRED) <swift>
Status: VERIFIED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: selinux-utils
Package list:
Runtime testing required: ---

Description Sven Vermeulen (RETIRED) gentoo-dev 2013-04-25 19:54:54 UTC
When calling sepolicy --help, the following error comes up:

Traceback (most recent call last):
  File "/usr/bin/sepolicy-2.7", line 457, in <module>
    gen_generate_args(subparsers)
  File "/usr/bin/sepolicy-2.7", line 381, in gen_generate_args
    from sepolicy.generate import DAEMON, get_poltype_desc, poltype, DAEMON, DBUS, INETD, CGI, SANDBOX, USER, EUSER, TUSER, XUSER, LUSER, AUSER, RUSER, NEWTYPE
  File "/usr/lib64/python2.7/site-packages/sepolicy/generate.py", line 29, in <module>
    import yum
ImportError: No module named yum


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2013-05-07 09:35:45 UTC
In main tree, ~arch'ed
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2013-06-16 18:24:23 UTC
Stabilized