[Bug 282005] security/gnome-keyring - the race between pam_gnome_keyring and pam_xdg or something else prevents it from loading keys on login

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Jun 2025 06:49:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282005

--- Comment #8 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
I spent some time patching our pam_xdg to use and set /var/run/user/$UID as
XDG_RUNTIME_DIR instead of the default setting, but it still doesn't fix the
issue:
gnome-keyring-daemon[5177]: couldn't access control socket:
/var/run/user/1001/keyring/control: No such file or directory
Moreover, while experimenting further with our pam_xdg by switching defualt
mode for userdir from 700 to 711 I found that after starting XFCE session this
mode is reverted back to 700 (speaking of /var/run/user/1001 in this case). So
most likely pam_gnome_keyring needs further patching to cooperate wiht our
pam_xdg.

-- 
You are receiving this mail because:
You are on the CC list for the bug.