aws / aws/amazon-ec2-hibinit-agent
Hibernation on EC2 Rocky8 fails when there is other swap on
Open
- 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
Assessment
This issue has not been assessed yet.