[patch] detect logind and fall back to ConsoleKit at runtime
Submitted by Fabio Erculiani
Assigned to David Zeuthen @david
Description
Created attachment 77926 drop a lot of duplicated code and detect logind at runtime
Attached is a patch that lets polkit detect logind at runtime and fall back to consolekit when logind is not available. This is particularly useful for distributions willing to support multiple init systems or just wanting to ensure a smooth migration to systemd.
Attachment 77926, "drop a lot of duplicated code and detect logind at runtime":
0001-Detect-logind-at-runtime.patch