[Pkg-utopia-maintainers] Bug#668251: org.freedesktop.ConsoleKit.Manager.Stop not working
Harald Dunkel
harri at afaics.de
Wed Apr 11 05:41:47 UTC 2012
-----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 logged in, and the properties of those login sessions, so that we can have policies like:
>
> if more than one user is logged-in locally, only an administrator can shut down the computer
>
> if only one user is logged-in locally then they can shut down the computer
>
> (for which you have to be able to define "logged-in" and "local").
>
I have a few problem with this:
- - it ignores process groups bound to a controlling terminal.
- - just because a user does not sit on the local screen his job is _not_
less valuable than a local user. He shouldn't be ignored by default.
- - this is still Unix, so what about running
'shutdown -h -t 60 "hey folks please terminate your jobs and log out"' ?
- - it ignores local services and virtual hosts (kvm, lxc, etc.)
- - What do you think will happen if a "local" user clicks on the shutdown
icon (based on consolekit), but the system refuses to obey this command
without any explanation? He will lean forward to press the power button.
Of course he shouldn't and mustn't, but it shows that there is a big
question mark behind the effort put into the shutdown procedure via
consolekit.
Regards
Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk+FGZYACgkQUTlbRTxpHjd1OgCgiOoXApTAH9exZLO9IMKCHHWO
jc0AnA7KLvn3yF+mWrMr+QC35TLJH27d
=Y9FG
-----END PGP SIGNATURE-----
More information about the Pkg-utopia-maintainers
mailing list