why devicekit-power does not support reboot/shutdown

2009-09-08 Thread Jedy Wang
Hi developers of devciekit-power,

I wonder why reboot/shutdown is not supported in devicekit-power.
According to my understanding, they are related to power management. Is
this because they are already implemented in ConsoleKit?

Thanks,

Jedy

___
devkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/devkit-devel


Re: why devicekit-power does not support reboot/shutdown

2009-09-08 Thread Patryk Zawadzki
On Wed, Sep 9, 2009 at 5:33 AM, Jedy Wang wrote:
> Hi developers of devciekit-power,
>
> I wonder why reboot/shutdown is not supported in devicekit-power.
> According to my understanding, they are related to power management. Is
> this because they are already implemented in ConsoleKit?

It's likely because shutting down a machine requires being sure no
data will be lost and that in turn requires enumerating other users
being logged in at the moment.

-- 
Patryk Zawadzki
___
devkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/devkit-devel


Re: why devicekit-power does not support reboot/shutdown

2009-09-08 Thread Martin Pitt
Jedy Wang [2009-09-09 11:33 +0800]:
> Hi developers of devciekit-power,
> 
> I wonder why reboot/shutdown is not supported in devicekit-power.
> According to my understanding, they are related to power management. Is
> this because they are already implemented in ConsoleKit?

It was a long and heated discussion [1][2], but it never got resolved
to the point to actually move the shutdown/reboot stuff to a proper
place like DK-P.

But with the current status quo it would not make sense to duplicate
the API, and e. g. GNOME has already moved to using the CK API.

Martin

[1] http://lists.freedesktop.org/archives/hal/2008-January/010602.html
[2] http://lists.freedesktop.org/archives/hal/2008-January/010669.html

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature
___
devkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/devkit-devel