Am 25.05.2014 15:32, schrieb Woody: > Laurent Bigonville wrote: >> Woody wrote: >>> I see also a broken behaviour. I am doing a dual boot - with and >>> without systemd. >>> Till the libpolkit-backend has been linked against systemd, it has >>> worked just fine. >>> >>> The problem is now that backend is trying to blindly use systemd, and >>> fails if systemd is not running as init. With that change the user >>> authentication for network-manager or pcmanfm mounting are broken - >>> there is just a pcmanfm msgbox "Not Authorized". >>> >>> So *libpolkit-backend should first try to verify if systemd is an >>> init program, and if not - do not try to use it for authentication* - >>> it will definitely fail - so there is no point doing so. >>> >>> I understand that running without systemd is not a typical Debian >>> installation, but dependence on systemd should not be a mandatory for >>> Debian breaking everything either. >> The only thing that policykit expects is a registered logind session >> (you can use loginctl command to check if it exists), not systemd as >> PID1. Moreover, network-manager also using logind for session tracking >> since 0.9.8.8-1. >> > My point is that if I overwrite the libpolkit-backend 1.0.5-5 with the > .so from 1.0.5-4 - the network manager and pcmanfm manage to > authenticate (probably using consolekit) >>> It is an important bug. >> Could you please check if you have a logind session registered. Also >> which DM are you using to login? > Laurent, no DM. Imagine an embedded system starting X first, asking > questions (and services ;-0) later... Here is the logincmd data : > > /woody> loginctl list-sessions > SESSION UID USER SEAT > c1 1000 user seat0 > > 1 sessions listed. > > /woody> loginctl session-status c1 > c1 - user (1000) > Since: Mon 2014-05-19 12:41:21 EDT; 5 days ago > Leader: 1475 (su) > Seat: seat0; vc1 > TTY: /dev/tty1 > Remote: user root > Service: su; type tty; class user > State: online > CGroup: systemd:/user/1000.user/c1.session
If you are using startx, you need to start the X session on the same tty as the one you logged in. E.g. startx -- vt01 (in case your logged in on tty1) [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747882 [1] https://bugzilla.redhat.com/show_bug.cgi?id=806491 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature