[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: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 18 Jul 2008 19:09:21 -0500

[Alan Barrett]
> 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.

Yes, that's one reason the situation I described fails visibly. The
correct solution to _that_ is, IMO, what Debian did in Feb 2006:
patched OpenSSH _not_ to print a message when exiting with a signal.
There's no reason ssh should print the message, as almost no Unix
programs ever do. Some time after, I patched Debian subversion to use
TERM instead of KILL, as the reason for KILL no longer applied to our
systems.

> My recommended fix is described in
> <http://svn.haxx.se/dev/archive-2006-03/0984.shtml>.

Waiting potentially a few seconds after a short svn command-line
transaction would be annoying for client users. Also, if you do have
to send the signal, you still get that unsightly warning message, thus
not addressing the reason the KILL hack was used in the first place.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Received on 2008-07-19 02:09:39 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.