[Bug 2492] Incomplete output of child process

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Nov 24 13:58:22 AEDT 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2492

--- Comment #21 from Marc Aurele La France <tsi at tuyoix.net> ---
I've verified that your suggested fix does indeed reintroduce the
hang-on-exit bug.  Log into your patched sshd and do ...

   sleep 30 & logout

This will cause your session to hang until the sleep finishes, which is
essentially the original problem reported in comment #1 of bug #52.

I still think the problem you reported here is a kernel issue and have
been doing some research.  I'm curious what `uname -a` says on your
system.  If this is earlier than 4.0.5, please update to at least 4.0.5
(wily's git currently sits at above 4.2.3) and see if the partial
output persists.  If you're already at or above 4.0.5, then more
research needs to be done.

4.0.5 is where
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/drivers/tty/pty.c?id=1a48632ffed61352a7810ce089dc5a8bcd505a60
first appeared.  This changes reportedly fixes all known issues with
the PTY code that were introduced in 3.18 and before.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list