Bug 105989

Summary: [PATCH] configure: fix elogind support
Product: PolicyKit Reporter: Rasmus Thomsen <cogitri>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED MOVED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium CC: rstrode, yamakuzure
Version: unspecified   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=98688
Whiteboard:
i915 platform: i915 features:
Attachments: 0001-configure-fix-elogind-support.patch

Description Rasmus Thomsen 2018-04-11 11:58:04 UTC
Created attachment 138756 [details] [review]
0001-configure-fix-elogind-support.patch

HAVE_LIBSYSTEMD is used to determine which source files to use.
We have to check if either have_libsystemd or have_libelogind is
true, as both of these need the source files which are used when
HAVE_LIBSYSTEMD is true. Without this patch the necessary files are only included if systemd is present, which breaks polkit on systems with elogind.
Comment 1 Sven Eden 2018-04-12 06:07:35 UTC
I apologize for not having spotted this when I updated the integration patch to only touch configure.ac for bug #98688. Sorry everybody!
Comment 2 Sven Eden 2018-04-12 06:08:45 UTC
@Ray: Can this be released as a hotfix?
Comment 3 GitLab Migration User 2018-08-20 21:35:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/29.

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.