Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #65632

Bug#944777: initramfs-tools-core: Resume fails when UUID= syntax used in conf.d/resume.

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#944777: initramfs-tools-core: Resume fails when UUID= syntax used in conf.d/resume.
Date 2019-11-15 23:30 +0100
Message-ID <z2Sgh-2hq-1@gated-at.bofh.it> (permalink)
References <z2EwF-2c9-5@gated-at.bofh.it> <z2EwF-2c9-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.


Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#944777: initramfs-tools-core: Resume fails when UUID= syntax used in conf.d/resume. Glenn Washburn <development@efficientek.com> - 2019-11-15 08:50 +0100
  Processed: Re: Bug#944777: initramfs-tools-core: Resume fails  when UUID= syntax used in conf.d/resume. "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-11-15 23:30 +0100
  Bug#944777: initramfs-tools-core: Resume fails when UUID= syntax used in conf.d/resume. Ben Hutchings <ben@decadent.org.uk> - 2019-11-15 23:30 +0100
    Bug#944777: initramfs-tools-core: Resume fails when UUID= syntax used in conf.d/resume. Glenn Washburn <development@efficientek.com> - 2019-11-26 09:30 +0100
  Bug#944777: marked as done (initramfs-tools-core: Resume fails  when UUID= syntax used in conf.d/resume.) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-01-18 17:00 +0100

csiph-web