Bug 1331035 - hibernate has stopped happening at all
Summary: hibernate has stopped happening at all
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 13:38 UTC by long
Modified: 2016-12-20 20:09 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 20:09:38 UTC
Type: Bug


Attachments (Terms of Use)

Description long 2016-04-27 13:38:01 UTC
Description of problem:
I have KDE set to Hibernate after 89 minutes.  At some point in the recent past it has stopped attempting to hibernate at all.  The only thing I see related in any logs comes from .xsession-errors:

powerdevil: Unsatisfied policies, the action has been aborted
powerdevil: Failed to start suspend job "org.freedesktop.login1.SleepVerbNotSupported" "Sleep verb not supported"

Version-Release number of selected component (if applicable):
powerdevil-5.5.5-1.fc23.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Set KDE to Hibernate after X minutes
2.Wait X minutes
3.

Actual results:
Nothing happens

Expected results:
System hibernates

Additional info:

Comment 1 Rex Dieter 2016-04-27 14:38:53 UTC
In your active plasma session, can you open a konsole, and run (all one line)

qdbus --system org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanHibernate

Comment 2 long 2016-04-27 14:48:35 UTC
[long@kite ~]$ qdbus --system org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanHibernate
na
[long@kite ~]$

Comment 3 Rex Dieter 2016-04-27 14:57:20 UTC
OK, so as far as systemd/logind is concerned, you cannot hibernate.  This can be for several reasons (session permissions, swap too small, etc...)

Curious, what does this say?

qdbus --system org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanSuspend

Comment 4 long 2016-04-27 15:00:06 UTC
[long@kite ~]$ qdbus --system org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanSuspend
yes
[long@kite ~]$

Comment 5 Rex Dieter 2016-04-27 15:07:04 UTC
My only guess is that maybe you don't have enough swap to save state, I'm not sure if logind does any checks beyond that to support hibernation.

I'm not sure of the specific requirement, but I think it's approximately swap > ram.   So, can confirm your current swap is larger than RAM ?

Comment 6 long 2016-04-27 15:08:19 UTC
MemTotal:        8055380 kB
MemFree:          329940 kB
MemAvailable:    1008872 kB
Buffers:           56664 kB
Cached:          1924796 kB
SwapCached:        61584 kB
Active:          4195904 kB
Inactive:        1155784 kB
Active(anon):    3932788 kB
Inactive(anon):   868868 kB
Active(file):     263116 kB
Inactive(file):   286916 kB
Unevictable:          80 kB
Mlocked:              80 kB
SwapTotal:      17084408 kB
SwapFree:       15592412 kB

Comment 7 Rex Dieter 2016-04-27 15:25:56 UTC
OK, triaging to systemd, I don't know why org.freedesktop.login1.Manager.CanHibernate dbus call isn't returning yes

Comment 8 Jóhann B. Guðmundsson 2016-04-27 16:10:49 UTC
Is the kernel parameter resume=$your_swap_partition set? 

If so what happens when you run systemctl hibernate from the command line?

Comment 9 long 2016-04-27 20:04:54 UTC
strange, I rebooted and now the qdbus command says I can hibernate and 'systemctl hibernate' works fine.  I will see what happens when I leave it idle overnight now.

Comment 10 long 2016-04-29 15:13:02 UTC
It hibernated fine now.  Any ideas on why CanHibernate was not yes previously?

Comment 11 long 2016-04-29 21:26:53 UTC
Went for extended lunch, came back, found hibernate did not happen and qdbus once again reports "na"

Comment 12 Fedora End Of Life 2016-11-25 07:29:08 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Fedora End Of Life 2016-12-20 20:09:38 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.