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

Harald Dunkel harri at afaics.de
Tue Apr 10 19:04:13 UTC 2012


-----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 you haven't edited the policy, it seems the default is:
> 
> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> </defaults>
> 
> or if multiple users are logged in,
> 
> <defaults> <allow_inactive>no</allow_inactive> <allow_active>auth_admin_keep</allow_active> </defaults>
> 

I don't touch XML code in /usr.

> That should mean that you can Stop the system if your session is considered active, but if another user is logged-in in parallel, you have to authenticate first.
> 

There is nobody logged in but me. I wasn't asked for authentication
except at login time, either.

> If you run ck-list-sessions, does it say your session is active?
> 

ck-list-sessions just exits with 0. No screen output.

What exactly do you mean by "session"? Sorry for asking, but the
consolekit package does not provide proper documentation. Esp.
ck-list-sessions does not provide a man page :-(.

I have the impression that this is some kind of mandatory scheme to
make consolekit working, so how comes that I could login on the
console without it?

> Are you running systemd? (I ask because systemd takes over some of CK's functionality, and D-Bus 1.5 has some systemd integration.)
> 

I am not running systemd.


Any helpful comment would be highly appreciated.

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+EhC0ACgkQUTlbRTxpHjddtQCffhz396a61ffLBDRX4ZeU0M8s
pnIAnj5EyQYfNwqlYWYHPKXAZnM67mGC
=RQas
-----END PGP SIGNATURE-----





More information about the Pkg-utopia-maintainers mailing list