#981433 grub-efi-amd64: Grub keeps adding resume= after package update, triggering other bugs in the process

Package:
grub-efi-amd64
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (EFI-AMD64 version)
Submitter:
Mariusz Gronczewski
Date:
2021-01-31 11:51:03 UTC
Severity:
normal
#981433#5
Date:
2021-01-31 08:47:17 UTC
From:
To:
after update, *again*, GRUB has re-added resume=/dev/sda6

diff --git a/default/grub b/default/grub
index 7f80c69..911da28 100644
--- a/default/grub
+++ b/default/grub
@@ -35,3 +35,5 @@ GRUB_CMDLINE_LINUX_DEFAULT="cgroup_enable=memory
kvm-intel.nested=1 net.ifnames=
 # Uncomment to get a beep at grub start
 #GRUB_INIT_TUNE="480 440 1"

+
+GRUB_CMDLINE_LINUX="resume=/dev/sda6 net.ifnames=0
cgroup_enable=memory swapaccount=1"



Aside from the fact that I do not WANT to use resume and I disabled it via

    initramfs-tools/conf.d/resume:
    RESUME=none

(or is it wrong way?)

it triggers bug #860533 causing extra 30s of boot time

#981433#10
Date:
2021-01-31 11:49:29 UTC
From:
To:
initramfs-tools config is unrelated to GRUB config.

I think you might find that things work better if you explicitly set
GRUB_CMDLINE_LINUX="" in /etc/default/grub (or maybe only the bits you
want, if net.ifnames etc. are relevant), rather than deleting it
entirely.