Cannot configure suspend-then-hibernate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Configuring login to suspend-
sudo systemctl suspend-
I get:
Failed to suspend system, hibernate later via logind: Sleep verb "suspend-
This could be a security vulnerability. If the user expects the system to suspend (and then lock) when the lid is off and it does not work, somebody could then just reopen the lid and get access.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: systemd 248.3-1ubuntu8
ProcVersionSign
Uname: Linux 5.13.0-19-generic x86_64
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: i3
Date: Mon Oct 18 18:57:35 2021
InstallationDate: Installed on 2021-10-14 (3 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: HP HP ENVY x360 Convertible 13-ay0xxx
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\
------
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: 07/30/2021
dmi.bios.release: 15.20
dmi.bios.vendor: Insyde
dmi.bios.version: F.20
dmi.board.
dmi.board.name: 876E
dmi.board.vendor: HP
dmi.board.version: 12.52
dmi.chassis.
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnInsyde:
dmi.product.family: 103C_5335KV HP Envy
dmi.product.name: HP ENVY x360 Convertible 13-ay0xxx
dmi.product.sku: 3V693EA#ABF
dmi.product.
dmi.sys.vendor: HP
mtime.conffile.
mtime.conffile.
You have 16G of memory:
> [ 0.081527] Memory: 15609664K/16134968K available
But you only seem to have 2G of swap:
[ 2.770354] Adding 2097148k swap on /swapfile
There is no way hibernation is possible on your system with this setup.