[Bug 290882] sysutils/kf6-kwallet: no longer being unlocked via plasma6-kwallet-pam (2025/11)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 8 18:42:05 GMT 2026


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290882

--- Comment #5 from Mark Felder <feld at FreeBSD.org> ---
I have a solution but I don't understand why. There are two problems which I've
identified:

1.
/usr/local/share/dbus-1/services/org.freedesktop.impl.portal.desktop.kwallet.service

this DBUS service that starts up kwalletd is a problem. It's discussed upstream
in https://bugs.kde.org/show_bug.cgi?id=509680

Delete this file, it fixes a race condition that is meant to be solved by the
previously mentioned patch



2. manually set a socketPath in /usr/local/etc/pam.d/sddm as I previously
described, but use /tmp or /var/tmp as the path:

auth optional pam_kwallet5.so socketPath=/tmp

Now it works.


I think something is tampering with files in the XDG_RUNTIME_PATH. I used
dtrace to watch /var/run/user/1001 during login and I can see multiple attempts
to delete the kwallet and gnome-keyring sockets. Based on the pam module's
source I only expect it to delete the socket once to clean up before the new
socket is created.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list