The systemd module talks to logind, but actually check for systemd with sd_booted(). The consolekit module does the reverse. It is possible to build systemd without logind, in which case sd_booted() would still succeed(), but the various sd_pid_get_* would fail. For running systemd init without logind, or for running logind without systemd init we need to change the check to test for logind. For details, see [1] if you are interested. [1] https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html
Created attachment 76863 [details] [review] consolekit, systemd: Check for logind, not for systemd
Thanks! I applied the patch to the master branch.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.