configure check for systemd fails with systemd version 230 or greater
Submitted by loqs
Assigned to Xorg Project Team
Link to original bug (#106876)
Description
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.