Add fix for wehjit (ctypes) SELinux problem

This commit is contained in:
Jason Gerard DeRose 2010-02-11 02:27:00 -07:00
parent eadca473a9
commit 85bb506d5b
2 changed files with 13 additions and 3 deletions

View File

@ -85,7 +85,7 @@ Requires: mod_nss
Requires: python-ldap Requires: python-ldap
Requires: python-krbV Requires: python-krbV
Requires: python-assets Requires: python-assets
Requires: python-wehjit >= 0.2.0 Requires: python-wehjit >= 0.2.2
Requires: acl Requires: acl
Requires: python-pyasn1 >= 0.0.9a Requires: python-pyasn1 >= 0.0.9a
Requires: libcap Requires: libcap
@ -497,6 +497,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Feb 11 2010 Jason Gerard DeRose <jderose@redhat.com> - 1.99-16
- Require python-wehjit >= 0.2.2
* Wed Feb 3 2010 Rob Crittenden <rcritten@redhat.com> - 1.99-15 * Wed Feb 3 2010 Rob Crittenden <rcritten@redhat.com> - 1.99-15
- Add sssd and certmonger as a Requires on ipa-client - Add sssd and certmonger as a Requires on ipa-client
@ -655,7 +658,7 @@ fi
* Thu Jan 24 2008 Rob Crittenden <rcritten@redhat.com> 0.99-3 * Thu Jan 24 2008 Rob Crittenden <rcritten@redhat.com> 0.99-3
- Included LICENSE and README in all packages for documentation - Included LICENSE and README in all packages for documentation
- Move user-modifiable content to /etc/ipa and linked back to - Move user-modifiable content to /etc/ipa and linked back to
/usr/share/ipa/html /usr/share/ipa/html
- Changed some references to /usr to the {_usr} macro and /etc - Changed some references to /usr to the {_usr} macro and /etc
to {_sysconfdir} to {_sysconfdir}
@ -702,7 +705,7 @@ fi
- Convert to autotools-based build - Convert to autotools-based build
* Tue Sep 25 2007 Karl MacMillan <kmacmill@redhat.com> - 0.4.0-2 * Tue Sep 25 2007 Karl MacMillan <kmacmill@redhat.com> - 0.4.0-2
* Fri Sep 7 2007 Karl MacMillan <kmacmill@redhat.com> - 0.3.0-1 * Fri Sep 7 2007 Karl MacMillan <kmacmill@redhat.com> - 0.3.0-1
- Added support for libipa-dna-plugin - Added support for libipa-dna-plugin

View File

@ -20,6 +20,13 @@
IPA web UI. IPA web UI.
""" """
# Special wehjit initialization to prevent it from loading the plugins that
# require pygments, which uses ctypes, which makes the httpd SELinux policy
# crazy:
import wehjit
wehjit.builtins._skip_pygments = True
wehjit.init_builtins()
from ipalib.backend import Executioner from ipalib.backend import Executioner
from ipalib.request import destroy_context from ipalib.request import destroy_context
from ipaserver.rpcserver import extract_query from ipaserver.rpcserver import extract_query