Bug#668251: [Pkg-utopia-maintainers] Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-12 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/12/12 10:02, Harald Dunkel wrote: > > I believe the bug is that consolekit ignores process groups. > PS: The expression "session" is already used in Unix. To avoid a lot of confusion consolekit should use a different expression. Harri -BE

Bug#668251: [Pkg-utopia-maintainers] Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-12 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/12 09:47, Simon McVittie wrote: > > I believe the bug here is: because Harald is "sitting on the console" he > should be in an active session (and so this should work), but CK doesn't > consider a session to exist at all. > I believe the

Bug#668251: [Pkg-utopia-maintainers] Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-11 Thread Simon McVittie
On 10/04/12 22:46, Michael Biebl wrote: > Am 10.04.2012 16:38, schrieb Simon McVittie: >> On 10/04/12 08:59, Harald Dunkel wrote: >>> Even though I am in group powerdev and I am sitting on the console >>> I am not authorized to shutdown the host via dbus. ... > If you are the only logged in user an

Bug#668251: [Pkg-utopia-maintainers] Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-10 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/12 23:46, Michael Biebl wrote: > > Simon's remark is correct: If you are the only logged in user and you are > issuing the shutdown request from a user session which is marked as active > *and* no other user is logged in, then this request

Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-10 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/12 22:19, Simon McVittie wrote: > > Do you have libpam-ck-connector installed? > After installing libpam-ck-connector I can shutdown the system via dbus-send. > > As far as I understand it, CK's purpose is to to keep track of who is logge

Bug#668251: [Pkg-utopia-maintainers] Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-10 Thread Michael Biebl
Am 10.04.2012 16:38, schrieb Simon McVittie: > On 10/04/12 08:59, Harald Dunkel wrote: >> Even though I am in group powerdev and I am sitting on the console >> I am not authorized to shutdown the host via dbus. Sample session: >> >> % dbus-send --print-reply --system >> --dest=org.freedesktop.Conso

Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-10 Thread Simon McVittie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 reassign 668251 consolekit thanks I don't think this is D-Bus' fault: the message is being delivered, but ConsoleKit is returning an error rather than doing what you ask. On 10/04/12 20:04, Harald Dunkel wrote: > AFAIR the users in group "powerdev"

Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-10 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/12 16:38, Simon McVittie wrote: > > This error means that ConsoleKit asked PolicyKit whether you were allowed to > use Stop, and PolicyKit replied "no" (without error). > AFAIR the users in group "powerdev" are allowed to shut down. > If

Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-10 Thread Simon McVittie
On 10/04/12 08:59, Harald Dunkel wrote: > Even though I am in group powerdev and I am sitting on the console > I am not authorized to shutdown the host via dbus. Sample session: > > % dbus-send --print-reply --system > --dest=org.freedesktop.ConsoleKit > /org/freedesktop/ConsoleKit/Manager > org.f

Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working

2012-04-10 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: dbus Version: 1.5.12-1 Even though I am in group powerdev and I am sitting on the console I am not authorized to shutdown the host via dbus. Sample session: % dbus-send --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedeskt