Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctypes import causes issues with selinux #168

Closed
simonpercivall opened this issue Mar 2, 2011 · 2 comments
Closed

ctypes import causes issues with selinux #168

simonpercivall opened this issue Mar 2, 2011 · 2 comments

Comments

@simonpercivall
Copy link

See for instance https://bugzilla.redhat.com/show_bug.cgi?id=488396

The selinux configuration for many systems disallow import of ctypes in an enforced environment, causing a MemoryError. Since ctypes is only used in two places in util.py it seems like an easy thing to import ctypes in the except clause of those two cases instead.

@benoitc
Copy link
Owner

benoitc commented Mar 6, 2011

fixed in c21578d thanks!

@simonpercivall
Copy link
Author

thanks!

fairview pushed a commit to fairview/gunicorn that referenced this issue May 26, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants