Bug#872762: gnome-keyring: SSH_AUTH_SOCK set to /run/user/$UID/keyring/ssh but ssh component not running

Uwe Kleine-König ukleinek at debian.org
Sun Aug 20 22:07:58 UTC 2017


Package: gnome-keyring
Version: 3.20.1-1
Severity: normal

Hello,

I'm faced with the problem that something (I suspect gnome-keyring, so
that's where the bug report is against) sets SSH_AUTH_SOCK:

	uwe at taurus:~$ echo $SSH_AUTH_SOCK 
	/run/user/1000/keyring/ssh

but that file does not exist:

	uwe at taurus:~$ ls -l /run/user/1000/
	total 0
	srw-rw-rw- 1 uwe uwe   0 Aug 20 23:48 bus
	drwx------ 2 uwe uwe  60 Aug 20 23:52 dconf
	drwx------ 3 uwe uwe  60 Aug 20 23:48 gnome-shell
	drwx------ 2 uwe uwe 140 Aug 20 23:48 gnupg
	dr-x------ 2 uwe uwe   0 Aug 20 23:48 gvfs
	drwx------ 2 uwe uwe  80 Aug 20 23:48 pulse
	drwxr-xr-x 3 uwe uwe 100 Aug 20 23:48 systemd
	srwxr-xr-x 1 uwe uwe   0 Aug 20 23:48 wayland-0
	-rw-r----- 1 uwe uwe   0 Aug 20 23:48 wayland-0.lock

The only suspect I have is

	uwe at taurus:~$ ps -f -p 14961
	UID        PID  PPID  C STIME TTY          TIME CMD
	uwe      14961     1  0 23:48 ?        00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login

although this should not set SSH_AUTH_SOCK.

I disabled gnome-keyring using
~/.config/autostart/gnome-keyring-{pkcs11,secrets,ssh}.desktop with
Hidden=true.

For now I have to do:

	SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh ssh myhost

to make make use of gpg-agent that I prefer to manage my ssh-key stuff.
So this is related to #623539, but I felt this is different enough to
justify a new report.

Best regards
Uwe

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (500, 'stable'), (499, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-keyring depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.11.16+really1.10.22-1
ii  dbus-x11 [dbus-session-bus]                   1.11.16+really1.10.22-1
ii  dconf-gsettings-backend [gsettings-backend]   0.26.0-2+b1
ii  gcr                                           3.20.0-5.1
ii  libc6                                         2.24-12
ii  libcap-ng0                                    0.7.7-3+b1
ii  libcap2-bin                                   1:2.25-1
ii  libgck-1-0                                    3.20.0-5.1
ii  libgcr-base-3-1                               3.20.0-5.1
ii  libgcrypt20                                   1.7.8-2
ii  libglib2.0-0                                  2.53.4-3
ii  p11-kit                                       0.23.7-3
ii  pinentry-gnome3                               1.0.0-2

Versions of packages gnome-keyring recommends:
ii  libpam-gnome-keyring  3.20.1-1

gnome-keyring suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list