https://bugs.kde.org/show_bug.cgi?id=509680

--- Comment #6 from CarlosE <[email protected]> ---
(In reply to michaelk83 from comment #5)
> (In reply to CarlosE from comment #4)
> > With `execsnoop' I see ksecretd with --pam-login is started in both cases
> > (as a child of `sddm-helper') but ksecretd forked from dbus-daemon races
> > ahead of it and the one with --pam-login dies.
> 
> Good find!
> That means something is calling the org.freedesktop.portal.Secret DBus
> service very early during login, and then xdg-desktop-portal forwards it to
> org.freedesktop.impl.portal.desktop.kwallet. Can you identify who the caller
> is?

It seems to be xdg-desktop-portal itself. dbus-daemon logs:

dbus-daemon[5289]: [session uid=1000 pid=5289 pidfd=5] Activating service
name='org.freedesktop.portal.Desktop' requested by ':1.11' (uid=1000 pid=5345
comm="/usr/bin/kcminit_startup")
[...]
dbus-daemon[5289]: [session uid=1000 pid=5289 pidfd=5] Activating service
name='org.freedesktop.impl.portal.desktop.kwallet' requested by ':1.12'
(uid=1000 pid=5348 comm="/usr/lib/xdg-desktop-portal")

> https://wiki.archlinux.org/title/XDG_Desktop_Portal#Configuration explains
> how this is configured.

Where, exactly? I only see instructions on how to disable the portal, not on
how to log who requested it.

In the meantime, I set up an (extremely) early dbus-monitor process in my
system; it seems xdg-desktop-portal calls
StartServiceByName("org.freedesktop.impl.portal.PermissionStore") on its own; I
don't find any processes calling for Secret-related functions.

I don't think I'm missing anything as I'm starting said dbus-monitor before the
graphical session even comes up.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to