Test in 50-ssh-agent for gnome-keyring ssh-agent via gconf, this works only for <=gnome-base/gnome-2.30.* (see http://mail.gnome.org/archives/gnome-keyring-list/2010-November/msg00001.html ) -- /usr/portage/gnome-base/gdm/files/50-ssh-agent 2009-07-27 00:37:45.000000000 +0200 +++ /etc/X11/xinit/xinitrc.d/50-ssh-agent 2010-12-25 18:43:51.000000000 +0100 @@ -1,9 +1,14 @@ #!/bin/sh -# add ssh-agent if found +# add ssh-agent if found and gnome-keyring ssh component is disabled +gkr="`which gnome-keyring`" +gkr_ssh="`gconftool-2 --get /apps/gnome-keyring/daemon-components/ssh`" sshagent="`which ssh-agent`" -if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then + +if [ -n "$gkr" ] && [ -x "$gkr" ] && [ "$gkr_ssh" == "true" ]; then + echo "$0: using gnome-keyring, disable via gconf /apps/gnome-keyring/daemon-components/ssh " +elif [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then command="$sshagent -- $command" elif [ -z "$sshagent" ] ; then echo "$0: ssh-agent not found!" (Maybe look at ubuntus 90×11-common_ssh-agent file?) Reproducible: Always Steps to Reproduce:
http://packages.ubuntu.com/de/natty/all/x11-common/filelist 90×11-common_ssh-agent starting ssh-agent in ubuntu is controlled via the Xsession.options. Maybe a einfo in gnome-base/gnome-keyring: Disable /etc/X11/xinit/xinitrc.d/50-ssh-agent if you want gnome-keyring to take over ssh-agent function.
This is not how it is going to be done, but it is something I had on the back-burner as well.
(In reply to Gilles Dartiguelongue from comment #2) > This is not how it is going to be done, but it is something I had on the > back-burner as well. Gilles, any news about this? (with much newer 3.8.x...) Thanks :)
In summary, that files don't belong to gnome-keyring neither gdm, they belong to ssh... I think there is another bug about this but I don't remember its summary or similar and I haven't found it :S
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1cdb81ebf7720272c44661174898f58766c125 commit ed1cdb81ebf7720272c44661174898f58766c125 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-05-23 19:25:15 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-05-23 19:45:31 +0000 gnome-base/gnome-keyring: Version bump to 42.1 * Add IUSE=systemd to enable socket-activated gnome-keyring-daemon (bug #349702) Bug: https://bugs.gentoo.org/349702 Signed-off-by: Matt Turner <mattst88@gentoo.org> gnome-base/gnome-keyring/Manifest | 1 + gnome-base/gnome-keyring/gnome-keyring-42.1.ebuild | 80 ++++++++++++++++++++++ 2 files changed, 81 insertions(+)