[Bug 1811447] Re: update-initramfs generates wrong RESUME if no swap + zram
Mantas Kriaučiūnas
mantas at akl.lt
Wed Jan 16 12:36:34 UTC 2019
This issue is fixed in Debian since July 2018 - initramfs-tools version
0.132, please accept this simple, 3 lines patch from Debian into Ubuntu
18.04 :
https://salsa.debian.org/kernel-team/initramfs-
tools/commit/312393b0cf1231125eeff3d1a2b6b778a935c21d
Look at bug #1781746 for more info.
** 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
--
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/1811447
Title:
update-initramfs generates wrong RESUME if no swap + zram
Status in initramfs-tools package in Ubuntu:
Confirmed
Status in initramfs-tools package in Debian:
Unknown
Bug description:
On a system with swap disabled (removed from /etc/fstab) and package
zram-config installed update-initramfs -u will emit something like
following:
I: The initramfs will attempt to resume from /dev/zram1
I: (UUID=1d4b8573-7eee-43c9-a02a-10a65fc17b8a)
I: Set the RESUME variable to override this.
Obviously, resuming from zram device without actual non-volatile
storage is not going to work. update-initramfs should be fixed to
ignore /dev/zram* because otherwise the user must e.g. create file
/etc/initramfs-tools/conf.d/resume-none with case-sensitive contents
RESUME=none
to workaround the issue, which may be a bit hard to guess from the
above notice only.
See also, somewhat related bug: 1781746
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: initramfs-tools 0.130ubuntu3.6
ProcVersionSignature: Ubuntu 4.18.0-13.14~18.04.1-lowlatency 4.18.17
Uname: Linux 4.18.0-13-lowlatency x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Fri Jan 11 19:10:41 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-01-05 (6 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1811447/+subscriptions
More information about the foundations-bugs
mailing list