Bug 43971

Summary: Support using systemd for session tracking
Product: PolicyKit Reporter: Matthias Clasen <mclasen>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED DUPLICATE QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Add systemd support

Description Matthias Clasen 2011-12-19 19:40:44 UTC
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.
Comment 1 David Zeuthen (not reading bugmail) 2011-12-20 06:55:49 UTC
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 ***
Comment 2 Lennart Poettering 2011-12-20 07:07:27 UTC
From a quick looks the patch looks all good to me!
Comment 3 David Zeuthen (not reading bugmail) 2012-01-03 08:31:42 UTC
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.