[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ssh ControlMaster problem, workaround

From: Alan Barrett <apb_at_cequrux.com>
Date: Fri, 18 Jul 2008 12:20:44 +0200

On Wed, 16 Jul 2008, Peter Samuelson wrote:
> Here is where Subversion comes in. If a user specifies "ControlMaster
> auto", then runs a svn command that uses svn+ssh, that command may or
> may not create an ssh master process with a tunnel to that server. If
> it does, the same master will be killed by ra_svn a short time later,
> thus killing any active tunnelled connections ... including a second
> connection that was made by ra_svn itself!

svn kills the ssh process with SIGKILL, which cannot be trapped.
This is very rude, giving the ssh process (or a wrapper script) no
chance to clean up after itself. My recommended fix is described in
<http://svn.haxx.se/dev/archive-2006-03/0984.shtml>. I don't want to
learn enough about APR to implement the fix, so I get by with wrapper
scripts which are much more complex than they should have to be and
which are too site-specific to share.

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-18 12:22:49 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.