[systemd-bugs] [Bug 73122] logind claims that hibernate is supported even if there is no swap
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jan 11 07:30:55 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=73122
Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #1 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
I have no swap here, so suspend is possible, but not hibernation.
$ gdbus call --system --dest org.freedesktop.login1 --object-path
/org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanSuspend
('challenge',)
$ gdbus call --system --dest org.freedesktop.login1 --object-path
/org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanHibernate
('na',)
$ sudo swapon -av
$ gdbus call --system --dest org.freedesktop.login1 --object-path
/org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanHibernate
('challenge',)
$ sudo gdbus call --system --dest org.freedesktop.login1 --object-path
/org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanHibernate
('yes',)
Quoting http://freedesktop.org/wiki/Software/systemd/logind/: "If "na" is
returned the operation is not available because hardware, kernel or drivers do
not support it."
I see no bug here. I'm closing this, because the code looks correct and rather
straightforward. If you have a specific example where this doesn't work (with
recent git), please reopen with some more details.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140111/8f7b46e2/attachment.html>
More information about the systemd-bugs
mailing list