Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #91648
| From | "Sanjoy Mahajan" <sanjoy@mit.edu> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1130605: I needed to disable systemd's user-slice freezing |
| Date | 2026-03-14 11:30 +0100 |
| Message-ID | <MyupP-7oFM-1@gated-at.bofh.it> (permalink) |
| References | <MyrLk-7mN0-11@gated-at.bofh.it> <MycCB-7aEJ-7@gated-at.bofh.it> <MyrLk-7mN0-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
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
Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar
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
csiph-web