[systemd-bugs] [Bug 87832] systemctl hybrid-sleep/hibernate fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 30 07:14:53 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87832

--- Comment #2 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
It should fail, I guess. A better error message should be generated though.

> How can I query logind's CanHybridSleep/CanHibernate from the
> command line?

gdbus call --system --dest org.freedesktop.login1 --object-path
/org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanHibernate

If I disable swap, it returns 'na' properly.

-- 
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/20141230/67fae2ee/attachment.html>


More information about the systemd-bugs mailing list