Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device

2017-04-18 Thread Ben Hutchings
On Tue, 2017-04-18 at 16:41 +0200, Helios Solaris wrote:
> On Tue, 18 Apr 2017 15:19:21 +0100 Ben Hutchings 
> wrote:
> 
> > Does this system have a swap partition?
> > 
> > Is there a resume device specified in
> > /etc/initramfs-tools/conf.d/resume and does it exist?
> 
> I have the same issue.
> 
> My system does not have a swap partition.
> 
> /etc/initramfs-tools/conf.d/resume exists and did not contain a valid
> device. The problem still persists, if I enter a valid UUID, or remove
> the file.

This issue should only affect systems that have a nonexistent device
specified in the configuration, or that have a swap device that isn't
suitable as a resume device because it's not set up early enough.
Previously we would only look for the resume device once, so this
didn't hurt, but it also meant that resume was broken on some systems.

Unfortunately, as you've seen, there isn't currently a way to
completely disable use of a resume device when building the initramfs. 
It *is* possible to do so at boot time (kernel parameter 'noresume' or
'resume=').

I think I need to add:

- The option to disable use of a resume device in the configuration
  (e.g. RESUME=none)
- A warning on upgrade if the configured resume device doesn't exist or
  is unlikely to be available

Ben.

-- 
Ben Hutchings
The world is coming to an end.  Please log off.



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


Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device

2017-04-18 Thread Helios Solaris
On Tue, 18 Apr 2017 15:19:21 +0100 Ben Hutchings 
wrote:

> Does this system have a swap partition?
> 
> Is there a resume device specified in
> /etc/initramfs-tools/conf.d/resume and does it exist?

I have the same issue.

My system does not have a swap partition.

/etc/initramfs-tools/conf.d/resume exists and did not contain a valid
device. The problem still persists, if I enter a valid UUID, or remove
the file.



Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device

2017-04-18 Thread Ben Hutchings
Control: tag -1 moreinfo

On Tue, 2017-04-18 at 13:14 +0200, Jos van Wolput wrote:
> Package: initramfs-tools
> Version: 0.128
> Severity: normal
> 
> Dear Maintainer,
> 
> After upgrading initramfs-tools from version 0.127 to 0.128 the boot
> process is delayed by about 30sec
> followed by the mention 'Gave up waiting for suspend/resume device'.
> There was no such delay when using version 0.127.

Does this system have a swap partition?

Is there a resume device specified in
/etc/initramfs-tools/conf.d/resume and does it exist?

Ben.

-- 
Ben Hutchings
The world is coming to an end.  Please log off.



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


Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device

2017-04-18 Thread Jos van Wolput

Package: initramfs-tools
Version: 0.128
Severity: normal

Dear Maintainer,

After upgrading initramfs-tools from version 0.127 to 0.128 the boot process is 
delayed by about 30sec
followed by the mention 'Gave up waiting for suspend/resume device'.
There was no such delay when using version 0.127.

-- System Information:
Debian Release: 9.0 (Sid)
Architecture: amd64 (x86_64)
Init: systemd