Hi,
On Fri, Sep 14, 2018 at 11:09 AM, Bastien Nocera <bnocera(a)redhat.com> wrote:
> The kernel shouldn't be exposing features it can't
reliably provide.
> Again, as I understand it, it's not even a hardware-supported situation, it
> can
> potentially fail on *any system* if the swap partition is filled up
> the wrong way,
> if i'm not mistaken.
There's multiple levels of "support". The kernel doesn't know if it has
enough
swap, this is checked by user-space, systemd in this case.
But that's bonkers,
there's no way systemd can know either.
The only way to make this reliable is if the kernel has a dedicated hibernate
partition the same size as ram that doesn't get used for anything but
hibernate, right?
--Ray