FS#58830 - [xorg-xdm] Built without systemd support
Attached to Project:
Arch Linux
Opened by (IrvineHimself) (IrvineHimself) - Friday, 01 June 2018, 15:08 GMT
Last edited by Jan de Groot (JGC) - Monday, 18 June 2018, 14:40 GMT
Opened by (IrvineHimself) (IrvineHimself) - Friday, 01 June 2018, 15:08 GMT
Last edited by Jan de Groot (JGC) - Monday, 18 June 2018, 14:40 GMT
|
Details
Description:
xorg-xdm crashes after a few minutes due to configure.ac not reflecting recent changes to systemd Additional info: * xorg-xdm 1.1.11-7 * https://bbs.archlinux.org/viewtopic.php?id=237578 * https://bbs.archlinux.org/viewtopic.php?id=237592 The patch proposed by @loqs appears to fix the problem : https://bbs.archlinux.org/viewtopic.php?pid=1788945#p1788945 |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 18 June 2018, 14:40 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-xdm-1.1.11+50+gb685338-1
Monday, 18 June 2018, 14:40 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-xdm-1.1.11+50+gb685338-1
* 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.
I can confirm the problem and that the patch is working.
With the official package 1.1.11-7 (I updated with pacman -Syu today):
When starting xdm it fails after a bit more than a minute (but showing the actual login screen in that time).
This is in "systemctl status":
Starting X-Window Display Manager...
Start operation timed out. Terminating.
Failed with result 'timeout'
Failed to start X-Window Display Manager
When rebuilding the package without any changes with extra-x86_64-build
I get the same result (xdm closes after a bit more than a minute)
When building the package with the attached patch
Everything is working fine now (= running for 10 minutes without xdm stopping)
https://bugs.freedesktop.org/
The code changed by the patch is not in Arch packaging, but the upstream configure.ac:
https://cgit.freedesktop.org/xorg/app/xdm/
It also does not change installing the service file even if systemd daemon detection failed or the fallback tests for detecting systemd.