Public bug reported:

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)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1811447

Title:
  update-initramfs generates wrong RESUME if no swap + zram

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1811447/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to