Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934314 - LXDE with sys-auth/polkit-124-r1 Cannot determine session the caller is in/Interactive Authentication Required
Summary: LXDE with sys-auth/polkit-124-r1 Cannot determine session the caller is in/In...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 18:24 UTC by fjmccloud
Modified: 2024-06-23 19:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fjmccloud 2024-06-14 18:24:33 UTC
After recent monthly (June) emerge --sync/emerge -puDN world
2 problems observed in LXDE desktop.

1.  Upon logging into LXDE desktop always greeted with an ominous error window
 GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
2.  Upon attempting to use "start menu" -> Logout -> reboot or shutdown options it complains about
InteractiveAuthorizationRequired: Interactive Authentication Required

Otherwise everything operates fine.  The desktop works, and rebooting from the command line is fine.

This problem did not exist in my May emerges, where I switched to the 23.0 split-usr desktop profile.  At that time the polkit version was polkit-123.


Subsequently, downgrading to sys-auth/polkit-123 fixes the problem.
The conclusion is that something is very broken in sys-auth/polkit-124-r1.
I don't know how to debug it further as the entire interplay of polkit/elogind/dbus is a huge mystery.  I don't configure any scripts for it.


All related documentation about the status of the problem, including emerge --info, groups, .xinitrc, proc fstab entry, loginctl, XDG env vars is present on the forum here:
https://forums.gentoo.org/viewtopic-p-8830222.html#8830222
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-21 14:59:36 UTC
You mention you were using binpkgs -- it's therefore possible it was bug 920383, although 100% convinced.

I don't see any obvious differences in the commits (upstream even) for 123 vs 124-r1.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-21 15:11:26 UTC
Looking at https://github.com/polkit-org/polkit/compare/123...124 again but I don't spot anything obvious.

I suppose you could try revert individual commits as there's not many, and it's easier than setting up bisect here I suspect.
Comment 3 Tomas Johansson 2024-06-23 19:50:06 UTC
Hi!

After upgrading to polkit-124-r1, i was unable to restart/shutdown computer from within xfce. Manual restart/shutdown as root was only way.
Downgrading to polkit-123 solved the problem.

Somehow i think this i related.