update-initramfs -u fails with random resume UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 16.04 32-bit
In fstab I have:
UUID=38e6603c-
But I have 2 swap partitions on my hard drive, the other for a 64-bit instance.
With this setting, suspend-to-disk (STD) was functional in ~ 50 % of the cases.
Then I created /etc/initramfs-
RESUME=
and did sudo update-initramfs -u -k all.
After this, the STD never worked again. So I extracted /boot/initrd.
RESUME=
Another try of sudo update-initramfs -u -k all created another random UUID, both do not match with any partition UUID on my system.
So I recovered my original system back from a backup image and discovered in conf/conf.d/resume from /boot/initrd.
RESUME=
So originally there was the correct UUID, even I never created a /etc/initramfs-
Now I do not have any idea, why sudo update-initramfs -u -k all doesn't create correct values to make STD always working reliably.