Comment 2 for bug 1382433

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

The reproduction test case with the new code (it also hangs but that's deliberate^Hnot addressed)

http://pastebin.ubuntu.com/8603872/

Clearly, the problem is that ssh inherits stdout/stderr pipes when started in -M -N -f mode. This is (partially) a ssh bug partially a desired feature as it wants to pop up interactive dialogs / console prompts in certain cases *after* it starts up.

The solution is to make sure we do something useful after we see SIGCHLD (which the new code *does* see)