found more than one resume device candidate
I have cryptsetup 1.6.1 installed on Ubuntu 14.04, i went and installed the uswsusp package for hibernation, and i am getting the warning below when update-initramfs is running:
cryptsetup: WARNING: found more than one resume device candidate:
ubuntu-swap
10147778-13f7-4a70-96ff-45635098d128I found some other discussions/bugs about this but the authors indicate that the two candidates are the same. But in my case, the 101... uuid doesn't exist, and the uuid for ubuntu-swap is f32... The config file /etc/uswsusp.conf has the correct resume device defined (the f32... uuid for ubuntu-swap).
I wonder where cryptsetup is finding that 101... uuid from? Is there an old config somewhere that i can update/remove that old uuid from?
Thanks
Quoted 7 lines · scar
I have cryptsetup 1.6.1 installed on Ubuntu 14.04, i went and installed the uswsusp package for hibernation, and i am getting the warning below when update-initramfs is running:
cryptsetup: WARNING: found more than one resume device candidate:
ubuntu-swap 10147778-13f7-4a70-96ff-45635098d128
This is not upstream code, it is from cryptroot script that is added in Debian/Ubuntu distributions only.
Seems there is a lot of legacy magic in that script though... (See /usr/share/initramfs-tools/hooks/cryptroot which config files are parsed to get the resume device.)
It is better to report it to distro specific bug trackers anyway.
Milan
Quoted 5 lines · Milan Broz
Quoted 4 lines · scar
I have cryptsetup 1.6.1 installed on Ubuntu 14.04, i went and installed the uswsusp package for hibernation, and i am getting the warning below when update-initramfs is running:
Quoted 7 lines
Quoted 3 lines
cryptsetup: WARNING: found more than one resume device candidate:
ubuntu-swap 10147778-13f7-4a70-96ff-45635098d128This is not upstream code, it is from cryptroot script that is added in Debian/Ubuntu distributions only.
Seems there is a lot of legacy magic in that script though...
Ah, yes, "magic". I think the story of the magician's apprentice should be mandatory reading for all software developers.
More often than not, "automagic" turns into "auto-mess" after a while....
Arno
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: [email protected] GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier