[Bug 1153224] Re: [FFE] Move to logind for session tracking
Steve Langasek
steve.langasek at canonical.com
Mon Mar 11 23:23:57 UTC 2013
On Mon, Mar 11, 2013 at 09:55:48PM -0000, Scott Kitterman wrote:
> It seemed to me like the discussion on IRC today went back and forth about
> if the switch to logind and the udev transition needed to be tied together
> and if not, which was more important to do first.
This was mostly a matter of me playing catch-up with pitti, who had a much
better understanding of the interdependencies than I did and has been
aggressively pursuing this in a ppa over the past few days.
The plan we came up with was the following:
1) update systemd to a more recent upstream version (19x), as this is a
prerequisite for obsoleting ConsoleKit from the seeds. (requires an FFe for
the new upstream version)
2) rebuild the archive against libudev1, now built from systemd.
3) in parallel, fix the udev package to not build libudev0, and to drop the
hard-coded udev->libudev0 dep.
4) seed logind in place of consolekit+libpam-xdg-support, and transition
reverse-dependencies to logind. (Requires a second FFe - and we may stop
here for 13.04, depending on available time.)
5) post-13.04, revisit the question of getting a newer udev with libkmod
support.
> Given that this we just thought up in mid-cycle, rather than planned,
For the record, this was blueprinted a while ago (back at UDS-Q); the latest
session concerned the finer details of how to migrate to logind now that
it's available, the fact that we've had a further detailed discussion should
not be taken as an indication that this is a new thought.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1153224
Title:
[FFE] Move to logind for session tracking
Status in “systemd” package in Ubuntu:
New
Bug description:
At the last UDS we decided to finally drop the long-abandoned
ConsoleKit and migrate to logind:
https://blueprints.launchpad.net/ubuntu/+spec/foundations-1303
-consolekit-logind-migration
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://launchpad.net/~ubuntu-
core-dev/+archive/logind/+packages . This involves a soname bump of
libudev, but as the ABI didn't actually change that much, that will
mostly be some 50 rebuilds. (Note that libudev1 works fine against the
older udev, and vice versa). Please note that while udev has been
merged into the systemd source, I do not propose to update udev to
version 198 at this point. We first need to review our current changes
and apply that to the current udev, and it is not clear whether doing
that in raring is appropriate. So this FFE does *not* include a
request for an updated udev, we'll continue to use the standalone
version 175 for the time being.
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-logind-dev build
dep, enable the corresponding configure option, done.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1153224/+subscriptions
More information about the foundations-bugs
mailing list