[Bug 1781746] Re: Slow startup with encrypted swap
Mantas Kriaučiūnas
mantas at akl.lt
Sat Oct 27 10:44:32 UTC 2018
** Bug watch added: Debian Bug tracker #861228
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861228
** Also affects: initramfs-tools (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861228
Importance: Unknown
Status: Unknown
** Summary changed:
- Slow startup with encrypted swap
+ Slow startup with zram-config installed (/dev/zram0) or encrypted swap
** Description changed:
- The problem was due to my swap being encrypted. So the local-premount
- script in initramfs was waiting for a swap device that was not
- available, until it timed out. The relevant message was gave up waiting
- for suspend/resume device.
+ Ubuntu 18.04 startup slowdowns for 30-60 seconds when zram-config installed or swap is encrypted.
+ When generating initrd I get this message in terminal:
+
+ I: The initramfs will attempt to resume from /dev/zram0
+ I: (UUID=e380356c-767e-4265-98da-8be62ad28569)
+ I: Set the RESUME variable to override this.###########################################.................]
+
+ So the local-premount script in initramfs was waiting for a swap device
+ that was not available, until it timed out. The relevant message was
+ gave up waiting for suspend/resume device.
To disable this (as resuming from swap is not possible with an encrypted
swap, and I don't use hibernation anyway), I modified this file: /etc
/initramfs-tools/conf.d/resume. In this file, a line with RESUME=none
(instead of the UUID that was here) will disable waiting for a resume
device.
Run sudo update-initramfs -u to apply the changes.
Please, fix it already. Duplicate of Bug #1768230 on Ubuntu 18.10
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1781746
Title:
Slow startup with zram-config installed (/dev/zram0) or encrypted swap
Status in Default settings and artwork for Baltix OS:
New
Status in initramfs-tools package in Ubuntu:
Confirmed
Status in zram-config package in Ubuntu:
New
Status in initramfs-tools package in Debian:
Unknown
Bug description:
Ubuntu 18.04 startup slowdowns for 30-60 seconds when zram-config installed or swap is encrypted.
When generating initrd I get this message in terminal:
I: The initramfs will attempt to resume from /dev/zram0
I: (UUID=e380356c-767e-4265-98da-8be62ad28569)
I: Set the RESUME variable to override this.###########################################.................]
So the local-premount script in initramfs was waiting for a swap
device that was not available, until it timed out. The relevant
message was gave up waiting for suspend/resume device.
To disable this (as resuming from swap is not possible with an
encrypted swap, and I don't use hibernation anyway), I modified this
file: /etc/initramfs-tools/conf.d/resume. In this file, a line with
RESUME=none (instead of the UUID that was here) will disable waiting
for a resume device.
Run sudo update-initramfs -u to apply the changes.
Please, fix it already. Duplicate of Bug #1768230 on Ubuntu 18.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/baltix-default-settings/+bug/1781746/+subscriptions
More information about the foundations-bugs
mailing list