systemctl suspend-then-hibernate attempts hybrid-sleep instead
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Dan Streetman | ||
Focal |
Fix Released
|
Medium
|
Dan Streetman | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Medium
|
Dan Streetman | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[impact]
suspend-
[test case]
configure a system (that has enough swap to be able to hibernate) to allow suspend-
$ sudo systemctl suspend-
Failed to suspend system, hibernate later via logind: Sleep verb "hybrid-sleep" not supported
note that on bionic, the Allow...= params do not exist, instead we can reproduce the error by setting one of the hybrid parameters to an invalid value, e.g. HybridSleepStat
[regression potential]
failure to correctly enter hybrid-sleep and/or suspend-
[scope]
This is needed in b and later.
The bug appears to have been introduced by a typo in the original suspend-
this is also present in b, by a backport of the functionality
[other info]
note that if hybrid-sleep is allowed/possible, then calling 'systemctl suspend-
[original description]
```
systemctl suspend-
Failed to suspend system, hibernate later via logind: Sleep verb "hybrid-sleep" not supported
```
Note the verb change!
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: systemd 247.3-3ubuntu3
ProcVersionSign
Uname: Linux 5.11.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Jul 8 08:54:01 2021
InstallationDate: Installed on 2021-07-06 (1 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
MachineType: Dell Inc. XPS 13 9300
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
SystemdDelta:
[EXTENDED] /usr/lib/
[EXTENDED] /usr/lib/
[EXTENDED] /usr/lib/
3 overridden configuration files found.
SystemdFailedUnits:
Error: command ['systemctl', 'status', '--full', '●'] failed with exit code 4: Invalid unit name "●" escaped as "\xe2\x97\x8f" (maybe you should use systemd-escape?).
Unit \xe2\x97\
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/03/2021
dmi.bios.release: 1.5
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.5.0
dmi.board.name: 0PP9G2
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 13 9300
dmi.product.sku: 096D
dmi.sys.vendor: Dell Inc.
mtime.conffile.
description: | updated |
Changed in systemd (Ubuntu Groovy): | |
status: | Confirmed → Won't Fix |
description: | updated |
description: | updated |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Medium |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.