[Bug 1853982] Re: Resume fails when UUID= syntax used in conf.d/resume
Benjamin Drung
1853982 at bugs.launchpad.net
Tue Jul 2 11:58:21 UTC 2024
*** This bug is a duplicate of bug 1769297 ***
https://bugs.launchpad.net/bugs/1769297
This particular bug has already been reported and is a duplicate of bug
#1769297, so it is being marked as such. Please look at the other bug
report to see if there is any missing information that you can provide,
or to see if there is a workaround for the bug. Additionally, any
further discussion regarding the bug should occur in the other report.
Feel free to continue to report any other bugs you may find.
** Also affects: initramfs-tools (Ubuntu Noble)
Importance: Undecided
Status: New
** This bug has been marked a duplicate of bug 1769297
resume from hibernation broken when resume image is autodetected
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1853982
Title:
Resume fails when UUID= syntax used in conf.d/resume
Status in initramfs-tools package in Ubuntu:
Triaged
Status in initramfs-tools source package in Noble:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1853982/+subscriptions
More information about the foundations-bugs
mailing list