The F28 systemd is fine, and even the F29 is so if you do not use EFI
boot. It is the F29 systemd that has problems. Today, I had a different problem: my system
slowed down to a crawl for at least an hour. I think that the disk decided to get checked
in the background, but that is a guess. I have never experienced something like this
before.
F29 is the first upgrade I had problems with in my 15 years with Fedora and in the
roughly 10 years that we can do this on the fly from a previous version. I am not sure why
this turned out to be so.
Ranjan
On Fri, 30 Nov 2018 12:15:51 -0700 Greg Woods <greg(a)gregandeva.net> wrote:
> 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
>>
Same problem here.
Workaround:
Following script goes into normal hibernate, if you enter ./hibernate.sh
and goes into special sort of hibernate according to your first parameter:
#!/bin/bash
if [ -z $1 ]; then
echo platform > /sys/power/disk
else
echo $1 > /sys/power/disk
fi
echo disk > /sys/power/state
suomi