Bug 24904 - systemd terminates xdm in an infinite loop
Summary: systemd terminates xdm in an infinite loop
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2019-06-04 20:31 CEST by Artem Kurashov
Modified: 2019-06-05 21:03 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Patch for fix this bug (784 bytes, patch)
2019-06-04 20:31 CEST, Artem Kurashov
Details | Diff

Description Artem Kurashov 2019-06-04 20:31:53 CEST
Created attachment 11058 [details]
Patch for fix this bug

This is an old bug that was fixed some time ago at the Arch Linux forum, but not in the upstream: https://bbs.archlinux.org/viewtopic.php?id=237592 .

Unit of systemd cann't get the answer from xdm and timeout ends. Fast solution without package modification is infinite timeout for unit of systemd, but it's breaks the boot chain (from the systemd point of view boot chain never ends).
Comment 1 Marja Van Waes 2019-06-05 18:54:49 CEST
Thanks, Artem.

I'm haven't had enough coffee to understand where the configure.ac file is that needs to be patched.

[marja@localhost ~]$ urpmf configure.ac | grep xdm
[marja@localhost ~]$

Did you notice that infinite loop in Mageia, too?

CC'ing the xdm maintainer

CC: (none) => marja11, shlomif
Keywords: (none) => NEEDINFO, PATCH, UPSTREAM

Comment 2 Artem Kurashov 2019-06-05 19:47:17 CEST
$ tar tvf xdm-1.1.12.tar.bz2 | grep configure.ac
-rw-r--r-- alanc/staff   20231 2019-03-03 01:06 xdm-1.1.12/configure.ac
$ rpm -qpl xdm-1.1.12-1.mga7.src.rpm | grep .tar.bz2
xdm-1.1.12.tar.bz2

File configure.ac in the tarball xdm-1.1.12.tar.bz2, the tarball xdm-1.1.12.tar.bz2 in the xdm-1.1.12-1.mga7.src.rpm package. Patch just needs to be added to the sources. After that package must be rebuilt. I have done this steps and bug was gone.

$ rpm -q xdm
xdm-1.1.12-2.mga7
Comment 3 Thomas Backlund 2019-06-05 21:03:18 CEST
ACK on the fix, thanks for notifying us.

Fix pushed in xdm-1.1.12-2.mga7

Resolution: (none) => FIXED
Status: NEW => RESOLVED
CC: (none) => tmb


Note You need to log in before you can comment on or make changes to this bug.