Mailing List Archive

[Bug 1988] New: ControlPersist causes stderr to be left open until the master connection times out
https://bugzilla.mindrot.org/show_bug.cgi?id=1988

Bug #: 1988
Summary: ControlPersist causes stderr to be left open until the
master connection times out
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.8p2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs@mindrot.org
ReportedBy: amcnabb@mcnabbs.org


As has been noted previously, when ControlPersist is set, the
background process hangs on to stderr until it terminates:

https://bugzilla.mindrot.org/show_bug.cgi?id=1330#c1
https://lwn.net/Articles/401651/

This means that any script that uses stderr from an ssh script will
hang until the master connection eventually times out. I'm opening this
bug because a user noticed that this makes pssh hang:

http://code.google.com/p/parallel-ssh/issues/detail?id=67

If the background ssh process were to close stderr, then pssh would not
hang.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs