[Bug 3046] New: ControlPersist with -v causes stderr to be left open until the master times out
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Jul 29 17:01:34 AEST 2019
https://bugzilla.mindrot.org/show_bug.cgi?id=3046
Bug ID: 3046
Summary: ControlPersist with -v causes stderr to be left open
until the master times out
Product: Portable OpenSSH
Version: 7.9p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: johannes at sipsolutions.net
In similar fashion as bug #1988 but with -v, the stderr file descriptor
is left open and a script reading from stderr will hang until the
master times out, so I guess the FD should be closed when detaching.
It's a little unfortunate that this would make debugging a bit more
difficult, but OTOH debugging would now get printed to an FD that
shouldn't really have much relation to the control process. So it's
better to debug the master with -y, in which case of course this cannot
happen.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list