Bug 699861

Summary: Subversion v1.6.11 missing gnome-keyring integration
Product: Red Hat Enterprise Linux 5 Reporter: KV <vargok>
Component: subversionAssignee: Joe Orton <jorton>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.6CC: number.cruncher
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-13 12:16:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description KV 2011-04-26 19:05:42 UTC
Description of problem:

gnome-keyring integration is called out as a new feature in v1.6.11, but libraries appear to be missing.  Works from CollabNet-provided RPM, but not from Stock RHEL-5.6 subversion RPM, and no libraries are present:


$ ls -ltr /usr/lib/libsvn*gnome*
ls: /usr/lib/libsvn*gnome*: No such file or directory

$ ls -ltr /opt/CollabNet_Subversion/lib/libsvn*gnome*
-rwxr-xr-x 1 root root 23123 Feb 24 11:38 /opt/CollabNet_Subversion/lib/libsvn_auth_gnome_keyring-1.so.0.0.0*
lrwxrwxrwx 1 root root 36 Apr 26 13:32 /opt/CollabNet_Subversion/lib/libsvn_auth_gnome_keyring-1.so.0 -> libsvn_auth_gnome_keyring-1.so.0.0.0*
lrwxrwxrwx 1 root root 36 Apr 26 13:32 /opt/CollabNet_Subversion/lib/libsvn_auth_gnome_keyring-1.so -> libsvn_auth_gnome_keyring-1.so.0.0.0*

I can get it to work using the directly downloaded CollabNet copy, but not the RHEL5 one.

https://bugzilla.redhat.com/show_bug.cgi?id=522592
https://bugzilla.redhat.com/show_bug.cgi?id=506781


Version-Release number of selected component (if applicable): 1.6.11

$ rpm -q subversion
subversion-1.6.11-7.el5_6.3.i386


How reproducible:

Easily

Steps to Reproduce:
1. set ~/.subversion/config to use gnome-keyring
2. try to do an `svn st -u' on a working copy
3. 
  
Actual results:
Not prompted for anything to do with gnome-keyring.


Expected results:
Prompted for gnome-keyring

Additional info:

Looks like this has been a chased bug.  Could only find these two reports:


https://bugzilla.redhat.com/show_bug.cgi?id=522592
https://bugzilla.redhat.com/show_bug.cgi?id=506781

but it seems to keep cropping up.  Maybe also request upstream folks include "compiled with" information in --version?  Or, if that's what it's already providing, be more clear.

A separate package with these integration libraries would be fine, but none appears to be provided.

Comment 1 KV 2011-05-05 17:53:38 UTC
Looks like you've intentionally disabled this?  Any particular reason?

----
[subversion.spec]
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
    --with-swig --with-neon=%{_prefix} \
        --with-ruby-sitedir=%{ruby_sitearch} \
        --with-apxs=%{_sbindir}/apxs --disable-mod-activation \
        --without-gnome-keyring --without-kwallet \
        --disable-static \
        --with-sasl
----

Subversion v1.6 specifically calls this out as an enhancement:

----
http://subversion.apache.org/docs/release-notes/1.6.html#auth-related-improvements
Support for storing passwords in KWallet and GNOME Keyring (Unix-like systems)

Passwords can be stored in KWallet (KDE 4) and GNOME Keyring.
----

Comment 2 Simon 2011-05-09 13:57:27 UTC
I'd just like to confirm/second this bug...

Comment 3 Joe Orton 2013-03-13 12:16:37 UTC
I'd recommend the customers upgrade to Red Hat Enterprise Linux 6, where GNOME keyring integration is already supported in the subversion package.  We have no plans to add this feature to the subversion package in Red Hat Enterprise Linux 5 at this stage in the production support lifecycle.

Please contact Red Hat Support if you require further information or assistance.