This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kwirk
Recipients kwirk, pitrou, vstinner
Date 2014-04-16.17:51:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397670676.36.0.309741837569.issue21207@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2014-04-16 17:51:16kwirksetrecipients: + kwirk, pitrou, vstinner
2014-04-16 17:51:16kwirksetmessageid: <1397670676.36.0.309741837569.issue21207@psf.upfronthosting.co.za>
2014-04-16 17:51:16kwirklinkissue21207 messages
2014-04-16 17:51:16kwirkcreate