ConsoleKit 0.2.4
William Jon McCann
mccann at jhu.edu
Wed Jan 23 17:33:22 PST 2008
Hi Michael,
On Jan 23, 2008 3:51 PM, Michael Biebl <mbiebl at gmail.com> wrote:
> 2008/1/23, William Jon McCann <mccann at jhu.edu>:
> > A new ConsoleKit release is available.
> [..]
> > system restart/stop support.
>
> tbh, I find it very strange, that this kind of functionality is in ConsoleKit.
> I'd rather that CK remains as simple as possible and only provides
> user/session tracking.
Think of the org.freedesktop.ConsoleKit.Manager object/interface as if
it was org.freedesktop.ConsoleKit.System. In fact, in the future
we'll rename it to be just that.
A system contains a group of seats, which contain sessions. We can
Restart or Stop the system. At some point we may move some other
power management functionality here too.
But I think it is still very simple.
> This also creates a very "nice" dependency loop:
> CK depending on PolicyKit and PolicyKit depending on CK. Not good.
There is no dependency loop. ConsoleKit requires libpolkit only.
libpolkit does not require ConsoleKit or D-Bus.
> Could you elaborate why this functionality was put into CK?
> I'd prefer if CK wouldn't add a dep on PolicyKit.
This functionality used to reside in the Display Manager. I think
that was a bit too high up in the stack. HAL currently also has
equivalent functionality but there is a good chance this will change
in the near future.
Hope that helps,
Jon
More information about the hal
mailing list