You are not logged in.
In the last week or so I've noticed that my laptop has occasionally hung when awaking from suspend (keys/mouse unresponsive, can't change TTY etc). This has now progressed to the laptop now restarting when I reopen the laptop lid.
I thought this might be a systemd error and, after some searching, saw a suggestion to set the "SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false" environment variable in the systemd-suspend.service. That had no impact on the behaviour.
The last lines in journalctl just show this:
Sep 01 12:46:51 laptop systemd-logind[524]: Lid closed.
Sep 01 12:46:51 laptop systemd-logind[524]: Suspending...
Sep 01 12:46:51 laptop systemd[1]: User suspend actions was skipped because of an unmet condition check (ConditionPathExists=/home/elp/.oktolock).
Sep 01 12:46:51 laptop systemd[1]: Reached target Sleep.
Sep 01 12:46:51 laptop systemd[1]: Starting System Suspend...
Sep 01 12:46:51 laptop systemd-sleep[3485]: Successfully froze unit 'user.slice'.
Sep 01 12:46:51 laptop systemd-sleep[3485]: Performing sleep operation 'suspend'...
Sep 01 12:46:51 laptop kernel: PM: suspend entry (deep)
-- Boot a060276341b245d6a7f043b0c80269dd --
Output of uname -a
Linux laptop 6.10.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 29 Aug 2024 16:48:57 +0000 x86_64 GNU/Linux
Output of systemctl --version
systemd 256 (256.5-1-arch)
+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP -SYSVINIT +LIBARCHIVE
I'd really appreciate some help debugging this and can provide whatever output is needed.
Offline