All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] found more than one resume device candidate
@ 2017-01-12  4:50 scar
  2017-01-16  8:30 ` Milan Broz
  0 siblings, 1 reply; 3+ messages in thread
From: scar @ 2017-01-12  4:50 UTC (permalink / raw)
  To: dm-crypt

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

I 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dm-crypt] found more than one resume device candidate
  2017-01-12  4:50 [dm-crypt] found more than one resume device candidate scar
@ 2017-01-16  8:30 ` Milan Broz
  2017-01-16  9:08   ` Arno Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Milan Broz @ 2017-01-16  8:30 UTC (permalink / raw)
  To: scar, dm-crypt

On 01/12/2017 05:50 AM, scar wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dm-crypt] found more than one resume device candidate
  2017-01-16  8:30 ` Milan Broz
@ 2017-01-16  9:08   ` Arno Wagner
  0 siblings, 0 replies; 3+ messages in thread
From: Arno Wagner @ 2017-01-16  9:08 UTC (permalink / raw)
  To: dm-crypt

On Mon, Jan 16, 2017 at 09:30:22 CET, Milan Broz wrote:
> On 01/12/2017 05:50 AM, scar wrote:
> > 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...

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
-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@wagner.name
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-16  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12  4:50 [dm-crypt] found more than one resume device candidate scar
2017-01-16  8:30 ` Milan Broz
2017-01-16  9:08   ` Arno Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.