Created attachment 54588 [details] [review] Add systemd support Here is a (untested) patch that adds a --enable-systemd configure option. When it is used, polkit is using systemd for session tracking instead of ConsoleKit.
Thanks for the patch, it looks like a great start. We already have a bug for this effort so closing this one as a duplicate. Thanks! *** This bug has been marked as a duplicate of bug 43339 ***
From a quick looks the patch looks all good to me!
Committed, thanks, and then I committed a patch on to top to automatically use systemd if available: http://cgit.freedesktop.org/PolicyKit/commit/?id=2027302e803a9569a370b429a475dae5ef8afe34 http://cgit.freedesktop.org/PolicyKit/commit/?id=ee3abef68386421b4711fc15d14be91e30134bc6 Thanks.
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.