[Pkg-utopia-maintainers] Bug#825956: Bug#825956: Bug#825956: policykit-1: greyed out reboot, shutdown, hibernate with 0.105-15~deb8u1, but 0.105-8 is ok

Michael Biebl biebl at debian.org
Wed Jun 1 16:43:42 UTC 2016


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20160601/e208e493/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list