Package: subversion
Version: 1.9.2-2
Severity: important
Dear Maintainer,
Trying to checkout (or commit to) a repository that requires authentication via
https:// hangs forever.
I first came across this when trying to checkout some github repository via svn
(they offer a git/svn bridge); checkout would work fine (as it doesn't require
authentication) but commits would stall.
In the meantime I have been able to confirm the problem with my local svn
servers (so it's *not* a gh problem).
I noticed this problem on two separate machines.
Attaching an strace to the svn process indicates that it is waiting:
Process 28117 attached
restart_syscall(<... resuming interrupted call ...>) = 0
poll([{fd=6, events=POLLIN}], 1, 200) = 0 (Timeout)
poll([{fd=6, events=POLLIN}], 1, 200) = 0 (Timeout)
poll([{fd=6, events=POLLIN}], 1, 200) = 0 (Timeout)
poll([{fd=6, events=POLLIN}], 1, 200) = 0 (Timeout)
poll([{fd=6, events=POLLIN}], 1, 200) = 0 (Timeout)
[ad infinitum]
I removed the entire ~/.subversion/ folder, but to no avail.
Also IIRC, it works fine with http:// authentication.
after a little digging, it turns out that the problem is related to the
gnome-keyring password store.
At least, if i set
password-stores =
the problem goes away, and if i set
password-stores = gnome-keyring
the problem re-appears.
(It might be that http:// works in any case, because this is in any case so
insecure that svn doesn't even bother to use a password-store.)
The problem might be really a gnome-keyring problem, but I haven't found a way
to quickly test the functionality of gnome-keyring alone and I haven't noticed
hickups with other applications.
$ gnome-keyring version
gnome-keyring: 3.18.1
$ zcat /usr/share/doc/gnome-keyring/changelog.Debian.gz | head -1
gnome-keyring (3.18.1-1) unstable; urgency=medium
I'm running xfce4 (NOT gnome), in case this is related.
mfgadr
IOhannes
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500,
'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages subversion depends on:
ii libapr1 1.5.2-3
ii libaprutil1 1.5.4-1
ii libc6 2.19-22
ii libldap-2.4-2 2.4.42+dfsg-2
ii libsasl2-2 2.1.26.dfsg1-14
ii libsvn1 1.9.2-2
subversion recommends no packages.
Versions of packages subversion suggests:
pn db5.3-util <none>
ii patch 2.7.5-1
ii subversion-tools 1.9.2-2
-- no debconf information