Public bug reported: When the agent inserts the resume device path and offset into the kernel cmdline, it uses device names such as the following:
`resume_offset=223232 resume=/dev/nvme1n1p1` The issue is that `/dev/nvme1n1p1` is not static. On the reboot, the block device may appear at `/dev/nvme0n1p1` resulting in failure to find the swapfile used to suspend. The solution should be to use a persistent block device naming scheme. ** Affects: ec2-hibinit-agent (Ubuntu) Importance: Undecided Status: New ** Affects: ec2-hibinit-agent (Ubuntu Xenial) Importance: Undecided Status: New ** Affects: ec2-hibinit-agent (Ubuntu Bionic) Importance: Undecided Status: New ** Affects: ec2-hibinit-agent (Ubuntu Focal) Importance: Undecided Status: New ** Affects: ec2-hibinit-agent (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: ec2-hibinit-agent (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: ec2-hibinit-agent (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: ec2-hibinit-agent (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: ec2-hibinit-agent (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896638 Title: Path to swapfile doesn't use a static device path To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1896638/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs