Am 01.06.2016 um 18:04 schrieb Michael Biebl:
> My guess it is related to
> 
> http://anonscm.debian.org/cgit/pkg-utopia/policykit.git/tree/debian/patches/0.113/sessionmonitor-systemd-Use-sd_uid_get_state-to-check.patch
> 
> I suspect your user is not properly marked as active.
> 
> What's the output of
> loginctl show-user $USER
> and
> loginctl show-session $XDG_SESSION_ID

Further investigation shows, that logind under sysvinit, specifically
sd_uid_get_state(), has been broken in jessie the whole time.

The user is not marked as active but in state "opening".

Running G_MESSAGES_DEBUG=all /usr/lib/policykit-1/polkitd --replace
yields

** (polkitd:2627): DEBUG: Checking whether session 2 is active.
** (polkitd:2627): DEBUG: Session 2 has UID 1000.
** (polkitd:2627): DEBUG: UID 1000 has state opening.
** (polkitd:2627): DEBUG:  subject is in session 2 (local=1 active=0)
** (polkitd:2627): DEBUG:  not authorized


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to