[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: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 19 Jul 2008 11:30:11 +0200

On Fri, Jul 18, 2008 at 07:09:21PM -0500, Peter Samuelson wrote:
>
> [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.

And the best long term fix for that is to convince the OpenSSH
developers to include this patch. Or something comparable, such
as a command line flag that prevents output from signal handlers.

Have you talked to upstream about this yet?

Stefan

  • application/pgp-signature attachment: stored
Received on 2008-07-19 11:30: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.