Bug 2151612

Summary: suspend-then-hibernate behavior is broken with systemd-252
Product: Red Hat Enterprise Linux 9 Reporter: Neal Gompa <ngompa13>
Component: systemdAssignee: David Tardon <dtardon>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: brandon.johnson, bstinson, carl, daan.j.demeyer, davdunc, davide, dtardon, jamacku, jwboyer, meteorincorporated, michel, systemd-maint-list, tdawson, the.anitazha, yuwatana
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-252-5.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 08:22:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2138081    
Bug Blocks:    

Description Neal Gompa 2022-12-07 16:00:54 UTC
Description of problem:
With the rebase to systemd-252, the "systemctl suspend-then-hibernate" command behavior does not respect settings for configuring timed hibernate after suspend.

This is particularly problematic for maintaining battery life and the safety/reliability of laptop devices.

Version-Release number of selected component (if applicable):
252-1.el9

How reproducible:
Always


Additional info:
This is tracked upstream and a fix has already been prepared: https://github.com/systemd/systemd/pull/25374

Comment 1 Plumber Bot 2023-02-16 14:37:00 UTC
fix merged to github main branch -> https://github.com/redhat-plumbers/systemd-rhel9/pull/134

Comment 6 errata-xmlrpc 2023-05-09 08:22:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (systemd bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2531