Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46585 - [systemd] quits X before kdeinit5 and sddm-helper before sddm on shutdown

Attached to Project: Arch Linux
Opened by ahmad (niceman) - Tuesday, 06 October 2015, 16:47 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 09:36 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No

Details

Description:
I notice from my journalctl that systemd quits X before kdeinit5 and quits sddm before sddm helper resulting in errors like these in my logs : http://pastebin.com/AieQFQAG

the shutdown process is however normal on most occasions(sometimes I see a kernel panic but not sure if this is the cause), also the system is normal in many ways but still I see those errors in my logs.

this happens on shutdown as well as reboot.
Additional info:
* package version(s)
* config and/or log files etc.
I'm using systemd 226-3 version with the mainline 4.2.2 kernel.

Steps to reproduce:
1-reboot or shutdown then start the computer.
2-login.
3-launch the terminal.
4-type sudo journalctl -b 1.
5-watch the mentioned error messages.
This task depends upon

Comment by Konstantin Gribov (gross) - Tuesday, 30 May 2017, 01:16 GMT
I have similar issue but with different consequences. I haven't panics but have occasional freezes for 90s on shutdown/reboot and the offending process is `kded5` under `sddm-helper`.

See also: https://github.com/systemd/systemd/issues/1615#issuecomment-304751536

Relevant log part is:
```
May 30 00:35:05 wahnsinn sddm[687]: Display server stopping...
May 30 00:35:05 wahnsinn sddm-helper[5686]: [PAM] Starting...
May 30 00:35:05 wahnsinn sddm-helper[5686]: [PAM] Authenticating...
May 30 00:35:05 wahnsinn sddm-helper[5686]: [PAM] returning.
May 30 00:35:05 wahnsinn systemd[1]: Stopped Manage swap spaces on zram, files and partitions..
May 30 00:35:07 wahnsinn sddm[687]: Display server stopped.
May 30 00:35:07 wahnsinn sddm[687]: Running display stop script "/usr/share/sddm/scripts/Xstop"
May 30 00:35:07 wahnsinn sddm[687]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
May 30 00:35:07 wahnsinn systemd[1]: Stopped Simple Desktop Display Manager.
May 30 00:36:32 wahnsinn systemd[1]: session-c2.scope: Stopping timed out. Killing.
May 30 00:36:32 wahnsinn systemd[1]: session-c2.scope: Killing process 1373 (kded5) with signal SIGKILL.
May 30 00:36:32 wahnsinn systemd[1]: Stopped Session c2 of user gross.
May 30 00:36:32 wahnsinn systemd[1]: session-c2.scope: Unit entered failed state.
```

Loading...