Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #91645 > unrolled thread

Bug#1130605: suspend hangs with all kernels that I've tried

Started by"Sanjoy Mahajan" <sanjoy@mit.edu>
First post2026-03-14 08:40 +0100
Last post2026-03-14 11:30 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1130605: suspend hangs with all kernels that I've tried "Sanjoy Mahajan" <sanjoy@mit.edu> - 2026-03-14 08:40 +0100
    Bug#1130605: I needed to disable systemd's user-slice freezing "Sanjoy Mahajan" <sanjoy@mit.edu> - 2026-03-14 11:30 +0100

#91645 — Bug#1130605: suspend hangs with all kernels that I've tried

From"Sanjoy Mahajan" <sanjoy@mit.edu>
Date2026-03-14 08:40 +0100
SubjectBug#1130605: suspend hangs with all kernels that I've tried
Message-ID<MyrLk-7mN0-11@gated-at.bofh.it>
I've done more testing, and the problem now happens with all the kernel
packages that I've tried:

linux-image-6.12.63+deb13-amd64
linux-image-6.17.11+deb14-amd64
linux-image-6.18.5+deb14-amd64
linux-image-6.19.6+deb14-amd64

So, the problem is probably due to an upgrade to another package.  One
guess is systemd, because many of the error messages say that
the hung process is systemd-sleep .

-- 
-Sanjoy

[toc] | [next] | [standalone]


#91648 — Bug#1130605: I needed to disable systemd's user-slice freezing

From"Sanjoy Mahajan" <sanjoy@mit.edu>
Date2026-03-14 11:30 +0100
SubjectBug#1130605: I needed to disable systemd's user-slice freezing
Message-ID<MyupP-7oFM-1@gated-at.bofh.it>
In reply to#91645
The following solution, or workaround, works for me (found on
<https://bbs.archlinux.org/viewtopic.php?id=296954>).  I made a file
/etc/systemd/system/systemd-suspend.service.d/override.conf containing
these two lines:

[Service]
Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"

(I did so via "systemctl edit systemd-suspend.service")

Now suspend works reliably.  Apparently this new behavior, of freezing
the user slice, was introduced in systemd 256, so I must have been
running an earlier version for a while.  Anyway, now I am running
systemd 260~rc4-1 (kernel 6.19.6+deb14-amd64).

This solution was proposed first to solve suspend problems with properietary
NVIDIA drivers.  However, I had similar suspend problems without any
proprietary drivers (the laptop uses intel graphics), and the same
solution worked for me as for the NVIDIA users.

-Sanjoy

P.S. A few sites describe the new configuration slightly incorrectly and
give the magic line simply as

SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web