← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu11

---------------
ec2-hibinit-agent (1.0.0-0ubuntu11) groovy; urgency=medium

  * Disable suspending the system (LP: #1898087)
  * Always set resume device by PARTUUID instead of by device name.
    Based on patch by Francis Ginther. (LP: #1896638)

 -- Balint Reczey <rbalint@xxxxxxxxxx>  Wed, 14 Oct 2020 20:49:52 +0200

** Changed in: ec2-hibinit-agent (Ubuntu Groovy)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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:
  Fix Released
Status in ec2-hibinit-agent source package in Xenial:
  Confirmed
Status in ec2-hibinit-agent source package in Bionic:
  Confirmed
Status in ec2-hibinit-agent source package in Focal:
  Confirmed
Status in ec2-hibinit-agent source package in Groovy:
  Fix Released

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