Reached to this bug because of a similar issue we were able to resolve
using information here.

In 18.10, at least in our case, the RESUME variable is set with
partition device name, not UUID. Yet the identification failed, because
the device is not a link and readlink ${resume} returns nothing (or
invalid argument when invoked with -v).

Got things working by assigning $resume into $DEV directly. This could
be more universal approach:

DEV=$(readlink ${resume})
DEV="${DEV:-$resume}"
DEV=/sys/class/block/${DEV##*/}/dev

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769297

Title:
  resume from hibernation broken when resume image is autodetected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1769297/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to