group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #28982
[Bug 1818150] Re: Hibinit-agent configures GRUB referring to root partition as resume=/dev/root
This bug was fixed in the package ec2-hibinit-agent -
1.0.0-0ubuntu4~18.04.0
---------------
ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) bionic; urgency=medium
* Backport to Bionic (LP: #1812166)
ec2-hibinit-agent (1.0.0-0ubuntu4) disco; urgency=medium
* Update grub configuration snippet even when it exists but has outdated
content
ec2-hibinit-agent (1.0.0-0ubuntu3) disco; urgency=medium
* Refer to root partition in resume=... the same way as GRUB2 refers to it
(LP: #1818150)
ec2-hibinit-agent (1.0.0-0ubuntu2) disco; urgency=medium
* debian/gbp.conf: Use ubuntu/ prefix for tags
* Silence swapoff when purging the package
* Detect disabled hibernation with Python 3's urllib, too. (LP: #1817926)
ec2-hibinit-agent (1.0.0-0ubuntu1) disco; urgency=medium
* Initial release based on packaging of hibagent
-- Balint Reczey <rbalint@xxxxxxxxxx> Fri, 01 Mar 2019 23:08:55 +0100
** Changed in: ec2-hibinit-agent (Ubuntu Bionic)
Status: Fix Committed => Fix Released
** Changed in: ec2-hibinit-agent (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1818150
Title:
Hibinit-agent configures GRUB referring to root partition as
resume=/dev/root
Status in ec2-hibinit-agent package in Ubuntu:
Fix Released
Status in ec2-hibinit-agent source package in Trusty:
Won't Fix
Status in ec2-hibinit-agent source package in Xenial:
Fix Released
Status in ec2-hibinit-agent source package in Bionic:
Fix Released
Status in ec2-hibinit-agent source package in Cosmic:
Fix Released
Bug description:
[Impact]
* The kernel can't find /dev/root when booting initramfsless thus can't resume from hibernation
* The fix sets resume=... to the same identifier passed as root=... on the kernel command when the swap file is found to be on /dev/root.
[Test Case]
* (Install and) start hibinit-agent on an EC2 instance supporting hibernation, then when it started successfully verify the grub configuration:
$ grep -m 1 root= /boot/grub/grub.cfg
linux /boot/vmlinuz-4.18.0-1008-aws root=PARTUUID=6b4ea835-01 ro console=tty1 console=ttyS0 nvme.io_timeout=4294967295 no_console_suspend=1 resume_offset=438272 resume=PARTUUID=6b4ea835-01
resume=... must not refer to /dev/root with the default
configuration, but to a block device known to the kernel without using
initramfs.
[Regression Potential]
* Hibinit-agent may parse the grub configuration file incorrectly and
set a wrong partition to resume from. Since the fix is quite small and
the number of variants of grub configurations is also small this
regression is unlikely.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1818150/+subscriptions