I saw the same thing when upgrading from F27 to F28. "systemctl hibernate"
just prints the "Failed to hibernate system via logind" error, and
"pm-hibernate" (still around from F22 pm-utils) starts the shutdown and
then hangs.
In my case at least, it appears to be a kernel bug. The upgrade also moved
from a 4.18 to a 4.19 kernel, but if I boot the old F27 kernel (4.18), even
with the F28 systemd, then hibernate works again.
--Greg
On Mon, Nov 5, 2018 at 9:34 PM Samuel Sieb <samuel(a)sieb.net> wrote:
On 11/5/18 8:18 PM, Ranjan Maitra wrote:
> On Sun, 4 Nov 2018 22:53:46 -0800 Samuel Sieb <samuel(a)sieb.net> wrote:
>> Try running "sudo setenforce off" and then try "systemctl
hibernate".
>> See if that works.
>
> I suspect that you meant
>
> sudo sentenforce 0
Oops, I should have checked the man page before posting.
> But even then:
>
> $ systemctl hibernate
> Failed to hibernate system via logind: Resume not configured, can't
hibernate
Then I guess it's not an selinux issue. Hopefully someone responds to
the bug.
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org