[Freeipa-devel] [PATCH] jderose 042 Fix ctypes SELinux problem

Jason Gerard DeRose jderose at redhat.com
Thu Feb 11 20:06:31 UTC 2010


On Thu, 2010-02-11 at 14:57 -0500, Rob Crittenden wrote:
> Jason Gerard DeRose wrote:
> > Under Fedora12, the httpd SELinux policy causes IPA to bomb when the
> > Python `ctypes` module gets imported.  The `ctypes` module is used by
> > python-pygments, which in turn is used by python-wehjit.
> > 
> > I just made a python-wehjit 0.2.2 bugfix release with a hack to prevent
> > wehjit from importing pygments.  This also disables the pygments-based
> > source code highlighting plugins, but we aren't using those in IPA at
> > the moment anyway.
> > 
> > This patch changes the .spec to require python-wehjit >= 0.2.2 and adds
> > the pygments disabling hack in ipawebui/__init__.py
> > 
> 
> Ack. Lets hold off on pushing this until the library gets into the 
> Fedora update stream.

Agreed.

> rob




More information about the Freeipa-devel mailing list