On 12/07/2021 08.37, Andrei Borzenkov wrote:
On Mon, Jul 12, 2021 at 9:05 AM Carlos E. R. <robin.listas@telefonica.net> wrote:
On 12/07/2021 02.33, Carlos E. R. wrote:
Hi,
Suddenly, laptop refuses to hibernate. I haven't done any update or change.
minas-tirith:~ # systemctl hibernate Failed to hibernate system via logind: Sleep verb not supported minas-tirith:~ #
...
That was it, not enough free swap at that moment. Wonder why not say so instead of lying...
systemd says so for years ...
if (r == -ENOSPC) return sd_bus_error_set(error, BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED, "Not enough swap space for hibernation");
Wow :-( I didn't even see a cause in the log... That "Not enough swap space for hibernation" was nowhere to be read. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.1 x86_64 (Minas Tirith))