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

Jason Gerard DeRose jderose at redhat.com
Thu Feb 11 09:46:28 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jderose-043-Fix-ctypes-SELinux-problem.patch
Type: text/x-patch
Size: 2167 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100211/40bac979/attachment.bin>


More information about the Freeipa-devel mailing list