Public bug reported:

I've having this issue on Bionic, but it appears that Focal still has
this issue (and its probably been there for years).  This can easily be
reproduced by starting with a system on which hibernation is working
using the resume=UUID=... kernel parameter.  Then create the file /etc
/initramfs-tools/conf.d/resume with contents RESUME=UUID=... Next
regenerate the initrd and remove the resume= kernel parameter.  Now
hibernate the machine and when booted back up resume will fail.  This
contradicts expected behavior noted in the documentation.

This is because there is a bug on this line
https://git.launchpad.net/ubuntu/+source/initramfs-tools/tree/scripts
/local-premount/resume?h=ubuntu/focal#n35. The variable resume is of the
form UUID=..., but of course readlink doesn't understand that.  I've
fixed this by inserting the line 'resume=${DEV}' above line 35.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: suspend-resume

** Tags added: suspend-resume

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

Title:
  Resume fails when UUID= syntax used in conf.d/resume

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

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

Reply via email to