[Bug 3181] ssh-agent doesn't exit automatically after child program exits

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jun 29 20:48:56 AEST 2020


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

--- Comment #6 from Corinna Vinschen <vinschen at redhat.com> ---
Oh, wait!

Before applying a potentially dangerous patch to OpenSSH, did anybody
actually test this on the latest Cygwin 3.1.5?

I tried the setup from the original report with the latest from the
Cygwin
distro:

- Cygwin 3.1.5
- OpenSSH 8.3p1
- OpenSSL 1.1.1f

and I can't reproduce this behaviour.  In my case ssh-agent exits after
not more than 10 secs.

If one of you still can reproduce this problem in the above setup,
with the latest of everything from the Cygwin repo, then before
patching OpenSSH, let me check if this isn't a regression in Cygwin's
process handling.  There's some history here in terms of ssh-agent.
An 8 years old patch in Cygwin is handling exactly this problem. 
However,
there were some recent changes in Cygwin which might have broken this
behaviour.

So, if you still ca reporoduce under Cygwin 3.1.5 and OpenSSH 8.3p1, do
you
have a simple testcase in plain C, by any chance, to reproduce the
getppid
problem and to simplify debugging?


Thanks,
Corinna

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


More information about the openssh-bugs mailing list