On Apr 26, 2013 1:15 AM, "Joshua Brindle" <brindle@xxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Apr 25, 2013 at 4:01 PM, Sven Vermeulen
> <sven.vermeulen@xxxxxxxxx> wrote:
> > https://bugs.gentoo.org/show_bug.cgi?id=467264
> >
> > - using semanage permissive fails with stacktrace referring to a Makefile on
> > a non-existing location (/usr/share/selinux/default/Makefile)
> >
> > I have yet to find the culprit of this (getting late so that'll be for
> > tomorrow evening).
> >
>
> semanage permissive builds a module to make a permissive domain. On
> Fedora there is an out-of-tree policy build environment in
> /usr/share/selinux. Without this environment it can't build a module.
> Does Gentoo have it in a different place or just not at all?
In the previous release it worked so I probably need to find where the location is coded and have that point to /usr/share/selinux/$SELINUXTYPE/include/Makefile or so. That is the Makefile used to build (refpolicy-style) policy modules here.
> >
> > https://bugs.gentoo.org/show_bug.cgi?id=467268
> >
> > - policycoreutils' sepolicy command requires yum python bindings
> >
> > Since yum is not available on Gentoo, is this really necessary?
> >
>
> Unfortunate. I'd exclude it for now and hopefully we can work out
> making it more distro independent.
Certainly. I'll see if I can draft up something when I get more familiar with the required functionalities.
Wkr,
Sven Vermeulen