Bug 482778 - Regression: gnome-keyring-daemon crashes when unlocking SSH passphrase
Summary: Regression: gnome-keyring-daemon crashes when unlocking SSH passphrase
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-keyring
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/bu...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-28 00:49 UTC by Michel Lind
Modified: 2015-03-03 22:33 UTC (History)
7 users (show)

Fixed In Version: 2.25.4.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-25 22:50:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michel Lind 2009-01-28 00:49:46 UTC
Description of problem:
The first time g-k-d acts as an SSH agent, it crashes, producing this error from SSH:

"Error reading response length from authentication socket."

SSH then falls back to asking for the passphrase on the terminal.

Further attempts to use SSH result in the passphrase being asked on the terminal, with no further error, as the SSH agent (g-k-d) is no longer running.

This can be reproduced by restarting g-k-d, and exporting the environment variables it outputs by hand.

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

How reproducible:
Always

Steps to Reproduce:
1. Log into GNOME
2. Start gnome-terminal, use SSH
3. Use ps to verify that gnome-keyring-daemon is no longer running
4. Restart gnome-keyring-daemon on the terminal, export the new environment
   variables it outputs
5. Use SSH
6. Revert to 2.25.4.2-1
  
Actual results:
2) and 5) yields "Error reading response length from authentication socket."

Expected results:
After 6), gnome-keyring-daemon works as expected

Additional info:

Comment 1 Matthias Clasen 2009-01-29 02:40:59 UTC
Hmm, not happening here, with gnome-keyring-2.25.5-1.fc11 and openssh-client-5.1p1-5.fc11.
What version of openssh-clients is do you have installed ?

Comment 2 Bill Nottingham 2009-01-30 16:47:07 UTC
What I'm seeing (may be related, may be not) is that the SSH_AUTH_SOCK environment variable points to a socket that isn't being watched by the current gnome-keyring-daemon. This implies that it crashed, and got respawned.

If I reset SSH_AUTH_SOCK to point to where it's currently listening, it hangs.

Comment 3 Matthias Clasen 2009-02-05 06:18:23 UTC
Can you try again with gnome-keyring-2.25.90 ? 
There were some 64bit issues that have been fixed.

Comment 4 Bill Nottingham 2009-02-05 15:45:46 UTC
It appears to be not crashing any more, but it's not remembering ssh keys.

Comment 5 Matthias Clasen 2009-02-21 07:02:33 UTC
I see it working perfectly fine now, on x86_64. Still having problems, Bill ?

Comment 6 Michel Lind 2009-02-23 16:18:54 UTC
I don't currently have Rawhide installed on my x86_64 box, so if Bill is not experiencing any problem, we can close this bug report.

Comment 7 Bill Nottingham 2009-02-25 22:50:31 UTC
It's working better now.

Comment 8 Juan Quintela 2009-04-07 14:15:01 UTC
gnome-keyring-daemon still don't work properly for me.
It forgets my ssh password, and sometimes my vpn password.  It fails for me in i586, i.e. it is nothing 64bits related for me.


quintela@anano ~]$ rpm -qa openssh-clients
openssh-clients-5.2p1-2.fc11.i586
[quintela@anano ~]$ rpm -qa gnome-keyring
gnome-keyring-2.26.0-2.fc11.i586

it fails for me more sooner than later, and it is completely reproducible.


Note You need to log in before you can comment on or make changes to this bug.