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
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.
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.
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.