Hello all,
I'm having slow shut down speeds that seem to be caused by the process "A stop job is running for Session 2 of [user] " that eventually times out.
On top of that, occasionally when I shut Garuda down having taken this time, it actually reboots.
That is very common. Any distro can face this situation, most of the time it’s related to “some application/process” a user was running just before shutdown/reboot and for “some reason” that process cannot be killed by the system, so it times out, usually around 90sec, until it is forcibly killed.
A very good way to put your finger on that is by looking at
journalctl -r -b -1
This will display your log from last boot (so after it timed out during the last shutdown) and by looking at the timestamp you can identify one hole of about 90sec, a jump in timestamp around that value. Take note of the exact time you initiated the reboot and make sure it corresponds to that moment in the log.
If you can display that log showing this, it will help identify what causes it to time out. Most of the time…
As stated already this is just a thing that happens on any distro depending on a lot of things... I experience this on occasion when I had been copying over files to a USB stick and even tho I had safely removed it already, it hangs for some reason.
I had just booted in and read this, and shutdown successfully with no delay or unwanted reboot.
On reboot I opened 2 browsers - brave and librewolf, opened settings/octopi.. a few other programs to try and force the fault and shutdown again - this had the desired effect of the time out and uncalled for reboot.
I have a gut feeling that librewolf is causing this somehow.
For some reason the terminal dump does not show increments of the timing in the log or show 1 minute 30 second wait, and all gives the impression that everything happened instantly:
journalctl -r -b -1
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /root.
May 12 20:38:57 john-ms7b51 systemd[1]: root.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /home/guest.
May 12 20:38:57 john-ms7b51 systemd[1]: home-guest.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /boot/efi.
May 12 20:38:57 john-ms7b51 systemd[1]: boot-efi.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit: BPF prog-id=0 op=UNLOAD
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Flush Journal to Persistent Storage...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/cache...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting Temporary Directory /tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /srv...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /root...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /home/guest...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /boot/efi...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local File Systems.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Create Volatile Files and Directories.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp co>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-update-utmp.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timesyncd comm>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Network Time Synchronization.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-timesyncd.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[17206]: SYSTEM_SHUTDOWN pid=17206 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-u>
lines 1-27...skipping...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /root.
May 12 20:38:57 john-ms7b51 systemd[1]: root.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /home/guest.
May 12 20:38:57 john-ms7b51 systemd[1]: home-guest.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /boot/efi.
May 12 20:38:57 john-ms7b51 systemd[1]: boot-efi.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit: BPF prog-id=0 op=UNLOAD
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Flush Journal to Persistent Storage...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/cache...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting Temporary Directory /tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /srv...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /root...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /home/guest...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /boot/efi...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local File Systems.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe=>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Create Volatile Files and Directories.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/u>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-update-utmp.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timesyncd comm="systemd" exe="/usr>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Network Time Synchronization.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-timesyncd.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[17206]: SYSTEM_SHUTDOWN pid=17206 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/us>
May 12 20:38:57 john-ms7b51 systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
lines 1-28...skipping...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /root.
May 12 20:38:57 john-ms7b51 systemd[1]: root.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /home/guest.
May 12 20:38:57 john-ms7b51 systemd[1]: home-guest.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /boot/efi.
May 12 20:38:57 john-ms7b51 systemd[1]: boot-efi.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit: BPF prog-id=0 op=UNLOAD
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Flush Journal to Persistent Storage...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/cache...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting Temporary Directory /tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /srv...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /root...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /home/guest...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /boot/efi...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local File Systems.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Create Volatile Files and Directories.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-update-utmp.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timesyncd comm="systemd" exe="/usr/lib/s>
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Network Time Synchronization.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-timesyncd.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[17206]: SYSTEM_SHUTDOWN pid=17206 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/>
May 12 20:38:57 john-ms7b51 systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.automount: Deactivated successfully.
lines 1-29...skipping...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /root.
May 12 20:38:57 john-ms7b51 systemd[1]: root.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /home/guest.
May 12 20:38:57 john-ms7b51 systemd[1]: home-guest.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /boot/efi.
May 12 20:38:57 john-ms7b51 systemd[1]: boot-efi.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit: BPF prog-id=0 op=UNLOAD
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Flush Journal to Persistent Storage...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/cache...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting Temporary Directory /tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /srv...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /root...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /home/guest...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /boot/efi...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local File Systems.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Create Volatile Files and Directories.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-update-utmp.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timesyncd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Network Time Synchronization.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-timesyncd.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[17206]: SYSTEM_SHUTDOWN pid=17206 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.automount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-binfmt comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lines 1-30...skipping...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /root.
May 12 20:38:57 john-ms7b51 systemd[1]: root.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /home/guest.
May 12 20:38:57 john-ms7b51 systemd[1]: home-guest.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounted /boot/efi.
May 12 20:38:57 john-ms7b51 systemd[1]: boot-efi.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit: BPF prog-id=0 op=UNLOAD
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Flush Journal to Persistent Storage...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /var/cache...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting Temporary Directory /tmp...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /srv...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /root...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /home/guest...
May 12 20:38:57 john-ms7b51 systemd[1]: Unmounting /boot/efi...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local File Systems.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Create Volatile Files and Directories.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-update-utmp.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timesyncd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Network Time Synchronization.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-timesyncd.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[17206]: SYSTEM_SHUTDOWN pid=17206 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.automount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-binfmt comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Set Up Additional Binary Formats.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local File Systems.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Create Volatile Files and Directories.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-update-utmp.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timesyncd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Network Time Synchronization.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-timesyncd.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[17206]: SYSTEM_SHUTDOWN pid=17206 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
May 12 20:38:57 john-ms7b51 systemd[1]: proc-sys-fs-binfmt_misc.automount: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-binfmt comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Set Up Additional Binary Formats.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-binfmt.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Record System Boot/Shutdown in UTMP...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Network Time Synchronization...
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Load Kernel Modules.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-modules-load.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Apply Kernel Variables.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-sysctl.service: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping Set Up Additional Binary Formats...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local Verity Protected Volumes.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local Integrity Protected Volumes.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
May 12 20:38:57 john-ms7b51 systemd[1]: systemd-ask-password-wall.path: Deactivated successfully.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped target Local Encrypted Volumes.`
type or paste code here
Ahh, yes I managed to lose some of the log. Here's what was missed off:
May 12 20:38:57 john-ms7b51 systemd-logind[621]: Removed session 2.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping User Manager for UID 1000...
May 12 20:38:57 john-ms7b51 systemd[1]: Stopping User Login Management...
May 12 20:38:57 john-ms7b51 systemd[1]: session-2.scope: Consumed 1min 55.822s CPU time.
May 12 20:38:57 john-ms7b51 systemd[1]: Stopped Session 2 of User john.
May 12 20:38:57 john-ms7b51 systemd[1]: session-2.scope: Failed with result 'timeout'.
May 12 20:38:57 john-ms7b51 systemd[1]: session-2.scope: Killing process 4222 (CPMMListener) with signal SIGK>
May 12 20:38:57 john-ms7b51 systemd[1]: session-2.scope: Killing process 4114 (QQmlThread) with signal SIGKIL>
May 12 20:38:57 john-ms7b51 systemd[1]: session-2.scope: Killing process 4055 (kwin_x11) with signal SIGKILL.
May 12 20:38:57 john-ms7b51 systemd[1]: session-2.scope: Stopping timed out. Killing.
May 12 20:37:39 john-ms7b51 kernel: Console: switching to colour frame buffer device 128x48
May 12 20:37:39 john-ms7b51 kernel: fbcon: Taking over console
May 12 20:37:35 john-ms7b51 uresourced[3179]: Setting resources on user.slice (MemoryMin: 0, MemoryLow: 0, CP>
May 12 20:37:35 john-ms7b51 uresourced[3179]: Setting resources on user@1000.service (MemoryMin: 0, MemoryLow>
May 12 20:37:35 john-ms7b51 uresourced[3179]: Setting resources on user-1000.slice (MemoryMin: 0, MemoryLow: >
May 12 20:37:31 john-ms7b51 dbus-daemon[605]: [system] Activation via systemd failed for unit 'dbus-org.freed>
May 12 20:37:31 john-ms7b51 dbus-daemon[605]: [system] Activating via systemd: service name='org.freedesktop.>
May 12 20:37:27 john-ms7b51 systemd[1]: Tell Plymouth To Jump To initramfs was skipped because of a failed co>
May 12 20:37:27 john-ms7b51 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=plym>
May 12 20:37:27 john-ms7b51 systemd[1]: Started Show Plymouth Reboot Screen.
May 12 20:37:27 john-ms7b51 systemd[1]: Received SIGRTMIN+20 from PID 17038 (plymouthd).
May 12 20:37:27 john-ms7b51 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=plymo>
May 12 20:37:27 john-ms7b51 systemd[1]: Starting Show Plymouth Reboot Screen...
May 12 20:37:27 john-ms7b51 systemd[1]: Stopped Terminate Plymouth Boot Screen.
May 12 20:37:27 john-ms7b51 systemd[1]: plymouth-quit.service: Deactivated successfully.
That seems to be the problem. Those 3 processes (or possibly 1 of the 3 blocking the other 2) seem to have caused the freeze on shutdown.
You can see that by the jump in time here
However, it’s weird, it seems kwin itself timed out, or got forced to time out from 1 or the other 2 above…
Not sure how to approach this, maybe google for something like “kwin times out on shutdown” or “A stop job is running for Session kwin” (no need to put more after “session” but include “kwin” somewhere in there so I usually insert at the end) or something similar?
You could and probably should also search the same thing for “QQmlThread” and “CPMMListener”.
Another possibility would be to disable one of those things and test it out. CPMM seems to be a TCP Listener, if you installed this, try to not run it.
As for QQml, it’s called by kwin_x11, so if kwin_x11 is timing out, maybe it drags QQml along with it, meaning I would first start looking at that TCP Listener before going down the kwin or QQml route.
If checking the QQml, try disabling your Compositor completely and see if that fixes the issue. Actually that’s pretty easy to try, you could try that first if you know NOTHING about that TCP Listener.