sshd fails to close open file descriptors when forking

James Ralston qralston+ml.openssh-unix-dev at andrew.cmu.edu
Fri Oct 19 06:45:13 EST 2001


I don't like to be the bearer of bad news, but...

In light of the big "ssh hangs on logout" thread (wherein the true
culprit was identified as being programs that don't close inherited
file descriptors), I find it somewhat ironic that one of those "broken
daemon" programs that doesn't close its open fds is sshd.  :(

http://bugzilla.mindrot.org/show_bug.cgi?id=3

(At least it shouldn't be too difficult to fix...)

-- 
James Ralston, Information Technology
Software Engineering Institute
Carnegie Mellon University, Pittsburgh, PA, USA




More information about the openssh-unix-dev mailing list