﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
9790	Setting XDG_RUNTIME_DIR in /etc/profile breaks gnome-keyring autologin	Wayne Blaszczyk	bdubbs@…	"This is the error I get in the system journal (B/LFS 8.1 systemd + GNOME 3.26.0)""
{{{
Sep 20 19:10:21 jupiter gnome-keyring-daemon[717]: couldn't access control socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
Sep 20 19:10:21 jupiter gnome-keyring-daemon[719]: couldn't access control socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
Sep 20 19:10:21 jupiter gnome-keyring-d[717]: couldn't access control socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
Sep 20 19:10:21 jupiter gnome-keyring-d[719]: couldn't access control socket: /tmp/xdg-wblaszcz/keyring/control: No such file or directory
Sep 20 19:10:21 jupiter gnome-keyring-ssh.desktop[714]: SSH_AUTH_SOCK=/tmp/xdg-wblaszcz/keyring/ssh
}}}
The is the equivalent entry on a working build (B/LFS 8.0 systemd + GNOME 3.24.x) :
{{{
Sep 20 17:20:22 jupiter gnome-keyring-ssh.desktop[705]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
Sep 20 17:20:22 jupiter gnome-keyring-secrets.desktop[707]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
}}}

Turns out that SSH_AUTH_SOCK is derived from XDG_RUNTIME_DIR.
Turns out that XDG_RUNTIME_DIR is set by default through pam_systemd.
Looks like /etc/profile is overwriting this variable."	defect	closed	normal	8.2	BOOK	SVN	medium	fixed	systemd pam gnome-keyring	
