Bug#335528: subversion: svn+ssh breaks will automatic ssh connection caching

Paul Brook paul at nowt.org
Mon Oct 24 13:49:44 UTC 2005


Package: subversion
Version: 1.2.3a-1
Severity: normal


The combination of svn+ssh and automatic ssh connection caching is
broken.

In my ~/.ssh/config I have 

ControlPath /tmp/.ssh-%h-%p-%r
ControlMaster auto

The first svn command succeeds, the second fails with

Control socket connect(/tmp/.ssh-jay-22-paul): Connection refused
ControlSocket /tmp/.ssh-jay-22-paul already exists
svn: Connection closed unexpectedly

Looking at strace output it appears that svn very rudely terminates its
child processes with SIGKILL.  This makes ssh leave stray connection
state files lying around.

Arguably this is a ssh bug (separate bug filed), but svn really should
give the child process chance to exit gracefully.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-w64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages subversion depends on:
ii  db4.2-util                 4.2.52-20     Berkeley v4.2 Database Utilities
ii  libapr0                    2.0.54-5      the Apache Portable Runtime
ii  libc6                      2.3.5-7       GNU C Library: Shared libraries an
ii  libdb4.2                   4.2.52-20     Berkeley v4.2 Database Libraries [
ii  libexpat1                  1.95.8-3      XML parsing C library - runtime li
ii  libldap2                   2.1.30-12     OpenLDAP libraries
ii  libneon24                  0.24.7.dfsg-2 An HTTP and WebDAV client library
ii  libssl0.9.7                0.9.7g-5      SSL shared libraries
ii  libsvn0                    1.2.3a-1      shared libraries used by Subversio
ii  libxml2                    2.6.22-1      GNOME XML library
ii  patch                      2.5.9-2       Apply a diff file to an original
ii  zlib1g                     1:1.2.3-6     compression library - runtime

subversion recommends no packages.

-- no debconf information





More information about the pkg-subversion-maintainers mailing list