[issue37951] Disallow fork in a subinterpreter broke subprocesses in mod_wsgi daemon mode

Christian Heimes report at bugs.python.org
Mon Oct 7 15:55:39 EDT 2019


Christian Heimes <lists at cheimes.de> added the comment:

I'll address the issue in FreeIPA.

The ipautil.run() function is a helper around subprocess.Popen. The function always installs a preexec_fn in case it needs to change umask or drop priviliges. The WSGI server does not need these features.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37951>
_______________________________________


More information about the Python-bugs-list mailing list