aws / aws/amazon-ec2-hibinit-agent

Hibernation on EC2 Rocky8 fails when there is other swap on

Open
#51 3 comments 0 reactions 1 assignee Claimed by @JarredTD View on GitHub
Dominant language
Shell
Stars
20
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Hibernation consistently fails when there is other swap that is on when the system enters hibernation.

To fix it, I turned the other swap off in acpid.sleep.sh and then back in sleep-handler.sh.

I hard-coded my specific swap, but, I suppose I could have used swapon/off -a.

Note: the relative priorities of the swap spaces did not matter in my tests.

Best,
Tammy

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.