Control: tag -1 moreinfo

On Fri, 2019-11-15 at 01:30 -0600, Glenn Washburn wrote:
> Package: initramfs-tools-core
> Version: 0.130ubuntu3.9

This is an Ubuntu version, so maybe you should report this on
Launchpad.

> Severity: normal
> Tags: newcomer
> 
> Dear Maintainer,
> 
> Resume from hibernation will fail when /etc/initramfs-tools/conf.d/resume
> contains "RESUME=UUID=<UUID of hibernation image>".

*Does* it fail, in practice?

> According to NEWS this
> should work.  The reason is does not is because UUID= processing is only done
> for the resume kernel parameter (see init lines 123-128). No processing is 
> done
> for the RESUME shell variable included from conf.d.
[...]

Whether the resume device is specified by a configuration file or from
a kernel parameter, scripts/local-premount/resume will pass it to the
local_device_setup function and that will pass it to resolve_device
which processes all the "key=value" formats.

The early conversion of "UUID=" for the resume kernel parameter
shouldn't be needed at all any more.

Ben.

-- 
Ben Hutchings
It is impossible to make anything foolproof
because fools are so ingenious.


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to