[PATCH] Revert 5ce97e6f22fd25279793fbc75211d2e86413ae73 from ConsoleKit

Danny Kukawka danny.kukawka at web.de
Wed Jan 30 23:26:16 PST 2008


On Donnerstag, 31. Januar 2008, Michael Biebl wrote:
> I hope you see the problem (the circular dependency) now. But I won't
> beat this dead horse any longer and instead try to be constructive.
>
> What do you think about moving the system stop/restart functionality
> into a separate D-Bus system service, which claims
> org.freedesktop.System and provides the Stop()/Restart() methods. This
> daemon could use PolicyKit without any side-effects and would be
> auto-started on-demand using D-Bus system activation.
>
> This would be the cleanest approach imho. What's your take on this?
> Would you accept a patch for this?

The point is: why can't we let this simply as it currently is? 

Let HAL provide the Shutdown()/Reboot() (which is IMO the same as 
Stop()/Restart()) methods, which then also can do all the 
ConsoleKit/PolicyKit checks. We don't need yet an other daemon for this. I 
see no advantage in moving these methods into ConsoleKit or an other daemon.

Danny


More information about the hal mailing list