Bug 106876 - configure check for systemd fails with systemd version 230 or greater
Summary: configure check for systemd fails with systemd version 230 or greater
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xdm (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-10 12:26 UTC by loqs
Modified: 2018-08-10 20:29 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description loqs 2018-06-10 12:26:39 UTC
Version is xdm-1.1.11 as I could not find that version I selected other.
I hope I have filed this bug in the correct category apologies for any mistakes I have made in advance.

From https://github.com/systemd/systemd/blob/master/NEWS CHANGES WITH 230:
* The compatibility libraries libsystemd-daemon.so,
libsystemd-journal.so, libsystemd-id128.so, and libsystemd-login.so
which have been deprecated since systemd-209 have been removed along
with the corresponding pkg-config files. All symbols provided by
those libraries are provided by libsystemd.so.

configure.ac from xorg-xdm is still looking for libsystemd-daemon when it fails it disables systemd support.  Without systemd support xorg-xdm does not use sd_notify however the service file specified type=notify.  This causes the service to be killed as having failed in startup after the startup timeout has expired with no sd_notify received by systemd.

Downstream bug report https://bugs.archlinux.org/task/58830
The downstream bug report contains a simple patch but it is not really suitable for upstream as it does not handle systemd < 209 or address if systemd service files should be installed when systemd detection failed or if the configure fallback checks for systemd are still necessary.
Comment 1 GitLab Migration User 2018-08-10 20:29: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/xorg/app/xdm/issues/9.


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.