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


Groups > linux.debian.kernel > #91648

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

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
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 Sat, 14 Mar 2026 11:30:01 +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>
X-Original-To 1130605@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Mar 14 10:21:08 2026
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.45
Reply-To "Sanjoy Mahajan" <sanjoy@mit.edu>, 1130605@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-kernel@lists.debian.org
X-Debian-Pr-Message followup 1130605
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
MIME-Version 1.0
Content-Type text/plain
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1958416
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 14 Mar 2026 11:19:41 +0100
X-Original-Message-ID <87eclm7lxe.fsf@mit.edu>
X-Original-References <87o6kqvpu6.fsf@mit.edu> <87ldfvzrjh.fsf@mit.edu> <87o6kqvpu6.fsf@mit.edu>
Xref csiph.com linux.debian.bugs.dist:1285957 linux.debian.kernel:91648

Cross-posted to 2 groups.

Show key headers only | View raw


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 | NextPrevious in thread | Find similar | Unroll thread


Thread

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