[Pkg-acpi-devel] Bug#665987: Bug#665987: acpi-supoort: Please make consolekit optional

Michael Meskes meskes at debian.org
Wed Jun 27 08:40:00 UTC 2012


On Tue, Jun 26, 2012 at 05:52:45PM +0200, Guillem Jover wrote:
> Also consolekit upstream is not even maintained anymore and it's
> considered deprecated (which seems like a trend with all that
> plumbing *kit stuff)...

I didn't even know that to be honest.

> Well for the cases I listed above, ck-list-session will just not return
> anything, so calling it or not calling it has the same effect. Not
> calling it if it's not available has the advantage of not requiring it
> at run-time and making it an optional dependency, like a Recommends.

Sorry, I don't really understand what you're refering to here. If you make
consolekit optional the way I see it in your patch, acpi-support will be
activated even if a different power management is running in the gui. We've had
our share of problems with that before this logic was implemented. To prevent
the standard user from falling into that trap consolekit has to be installed
per default together with acpi-support, which is exactly what you want to get
rid of. If using the old approach with pinky this would only hold for people
using lightdm who I gather are more experienced user to begin with.

> Exactly, and that's precisely why consolekit is in principle optional,
> because the code will fallback to something else, but that requires
> consolekit to not be required.
> 
> When I referred to “when the system is not running an X session” I
> meant when the system does not have any X server running, and it's
> just running on the system console.
> 
> In addition Recommends are installed by default, so that should cover
> the majority of the users, but allow others to choose not to install
> those if they so desire.

This is a good point, but I still think having a fallback for an active X would
even be better. Unfortunately there is no way to force installation of
consolekit if and only if X is installed, too.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL





More information about the Pkg-acpi-devel mailing list