[Bug 1988] New: ControlPersist causes stderr to be left open until the master connection times out

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Mar 3 10:53:21 EST 2012


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 at mindrot.org
        ReportedBy: amcnabb at 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.


More information about the openssh-bugs mailing list