[Bug 2013336] Re: agent fails if /boot/grub/menu.lst GRUB config file is not present
Alberto Contreras
2013336 at bugs.launchpad.net
Thu Mar 30 12:02:45 UTC 2023
This bug was fixed in lunar as the 1.0.1+git20230216.9ac1209f7-0ubuntu1
version made an upstream snapshot including
https://github.com/aws/ec2-hibernate-linux-
agent/commit/0f995e803483acbf87ddb04c62960c30e837afce
This was made to fix
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1896638
for lunar.
** Changed in: hibagent (Ubuntu)
Status: New => Fix Released
** Also affects: hibagent (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: hibagent (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Also affects: hibagent (Ubuntu Focal)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hibagent in Ubuntu.
https://bugs.launchpad.net/bugs/2013336
Title:
agent fails if /boot/grub/menu.lst GRUB config file is not present
Status in hibagent package in Ubuntu:
Fix Released
Status in hibagent source package in Focal:
New
Status in hibagent source package in Jammy:
New
Status in hibagent source package in Kinetic:
New
Bug description:
The agent fails to initialize the swap when /boot/grub/menu.lst is not present.
That file is related to GRUB and is not needed on systems with GRUB2 installed.
# /usr/bin/enable-ec2-spot-hibernation
# journalctl -u hibagent
...
Mar 30 10:51:10 ip-172-31-34-23 /hibagent[615]: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst'
Mar 30 10:51:11 ip-172-31-34-23 /hibagent[615]: Background swap initialization thread is complete.
I expected the agent to not require config files of older grub
versions to be present to correctly configure the system for
hibernation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hibagent/+bug/2013336/+subscriptions
More information about the foundations-bugs
mailing list