SEPOLICY is asking for YUM

Hi,

So I am trying to learn SELinux on my 13.1 box. The sepolicy command ask for yum with every command I do.

Traceback (most recent call last):
  File "/usr/bin/sepolicy", line 456, in <module>
    gen_generate_args(subparsers)
  File "/usr/bin/sepolicy", line 380, 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

I have no idea where to report this, or even, if this is correct and I should install yum on my system. Wouldn’t it conflict with zypper?

What to do?

On 2014-11-04 12:16, Ricochet wrote:
>
> Hi,
>
> So I am trying to learn SELinux on my 13.1 box.

Installed, how, from where?

> I have no idea where to report this, or even, if this is correct and I
> should install yum on my system. Wouldn’t it conflict with zypper?

Bugzilla, if an openSUSE package.
No, No, Yes.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Thanks for your reply.

SEPOLICY is found in the package called: policycoreutils-python and this package is from the openSUSE-13.1-Oss repository.

So I’ll report at Bugzilla, thanks!

On 2014-11-04 14:46, Ricochet wrote:
>
> Thanks for your reply.
>
> SEPOLICY is found in the package called: policycoreutils-python and this
> package is from the openSUSE-13.1-Oss repository.
>
> So I’ll report at Bugzilla, thanks!

Welcome! Thanks for reporting.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)