[issue21207] urandom persistent fd - not re-openned after fd close

Steven Hiscocks report at bugs.python.org
Wed Apr 16 19:51:16 CEST 2014


Steven Hiscocks added the comment:

Issue where I hit this is in Fail2Ban: https://github.com/fail2ban/fail2ban/issues/687

Lines of code where this occurs: https://github.com/fail2ban/fail2ban/blob/1c65b946171c3bbc626ddcd9320ea2515018677b/fail2ban/server/server.py#L518-530

There are other examples of closing file descriptors in other packages which create daemon processes, as well as code snippets about, as it is typical behaviour to close files. (http://en.wikipedia.org/wiki/Daemon_%28computing%29#Creation)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21207>
_______________________________________


More information about the Python-bugs-list mailing list