Bug#854318: gnome-keyring: Attempts to provide ssh-agent

Mark Brown broonie at debian.org
Mon Feb 6 12:24:39 UTC 2017

On Mon, Feb 06, 2017 at 02:29:40AM +0100, Michael Biebl wrote:
> Am 06.02.2017 um 00:43 schrieb Mark Brown:

> > I have previously removed /etc/xdg/autostart/gnome-keyring-ssh.desktop
> > (which is still removed) but it appears that this is now triggred by
> > systemd somehow.

> Might this be a gnupg-agent issue?

Well, the first order problem I'm seeing here is that SSH_AUTH_SOCK is
set to /run/user/1000/keyring/ssh so GnuPG isn't getting a look in.

> I see it enables
> /usr/lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket by default.

> What happens if you run
> systemctl --user mask gpg-agent-ssh.socket
> systemctl --user stop gpg-agent-ssh.socket

This does nothing visible with regard to SSH.

Whenever I've had to fix this before half the problem is that GnuPG
doesn't provide a SSH agent if something else is doing it so the usual
problem is getting rid of GNOME keyring, after that's gone the problem
is normally resolved.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170206/3ad62661/attachment.sig>

More information about the pkg-gnome-maintainers mailing list