[FFE] Move to logind for session tracking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
At the last UDS we decided to finally drop the long-abandoned ConsoleKit and migrate to logind: https:/
I fixed current raring's logind package (from systemd source) to actually work standalone, so we can use it without the init bits.
However, as some packages like gnome-session require a newer version than 44, I would actually like to update this to the current upstream version 198. A working package is in https:/
This PPA also has a number of packages which move from ConsoleKit to logind for session tracking. As most upstream moved to logind long ago, this is usually very trivial: Add libsystemd-
The blueprint has an exhaustive list of reverse dependencies that should be migrated; there are a number of packages which talk to ConsoleKit's D-BUS API without a declared dependency, found by an archive grep.
However, we don't need to do this in a big lockstep: logind and ConsoleKit work just fine side by side, so at no point during the transition there will be a state where a package is broken. I still would like to convert as much as possible (read: all packages which have logind support in the current raring version), and I have some time reserved to do this. I figure that Stephane Graber, James Hunt, Steve Langasek, and/or the desktop team can also give a hand with this.
For the record, I run my workstation with consolekit purged since Friday, so that I see the missing bits (which would otherwise continue to use CK and thus work just fine).
While this is quite a large change, I believe that the risk is relatively low. logind has been tested and used in Fedora, Arch, some Debian developers, and other distributions for over a year now, and many upstreams like NetworkManager, GNOME, upower, udisks etc. do not test with CK any more. In fact, GNOME 3.8 drops support for Consolekit, which blocks the Ubuntu GNOME remix (for raring) and Ubuntu itself (for raring+1) from updating to a newer GNOME.
Note that this also blocks on the MIR bug 1152187, but I would like to discuss this FFE in parallel.