[Bug 1896638] [NEW] Path to swapfile doesn't use a static device path

Francis Ginther 1896638 at bugs.launchpad.net
Tue Sep 22 16:00:24 UTC 2020


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
Foundations Bugs, which is subscribed to ec2-hibinit-agent in Ubuntu.
https://bugs.launchpad.net/bugs/1896638

Title:
  Path to swapfile doesn't use a static device path

Status in ec2-hibinit-agent package in Ubuntu:
  New
Status in ec2-hibinit-agent source package in Xenial:
  New
Status in ec2-hibinit-agent source package in Bionic:
  New
Status in ec2-hibinit-agent source package in Focal:
  New
Status in ec2-hibinit-agent source package in Groovy:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1896638/+subscriptions



More information about the foundations-bugs mailing list