Ticket #1907 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

On FreeBSD, Twisted-10.2.0 does not close file descriptors in child processes

Reported by: dustin Owned by: dustin
Priority: major Milestone: 0.8.4
Version: master Keywords:
Cc:

Description

This is

 http://twistedmatrix.com/trac/ticket/4881

We'll need to find a workaround in Buildbot.

Change History

comment:1 Changed 2 years ago by Dustin J. Mitchell

  • Status changed from new to closed
  • Resolution set to fixed

Fix failure to close file descriptors on FreeBSD

On FreeBSD, Twisted-10.2.0 fails to close file descriptors in child processes if the fdescfs is not mounted at /dev/fd (and it often is not). This is fixed in Twisted bug #4881, and this commit represents a monkey-patch version of that fix.

Fixes #1907.

Changeset: ec44132b8ae8e199a042fd7634fe99b86ebde1dc

Note: See TracTickets for help on using tickets.