grub nice 'recordfail' feature doesn't work for hibernation
Bug #447725 reported by
Maxim Levitsky
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Binary package hint: grub2
The following happens:
1 - system is hibernated
2 - system is resumed, the 'recordfail=1' is set, but never cleared on resume
3 - system is shutdowned/
4 - grub screen pops up
This breaks my automated scripts for hibernate testing (and wrong anyway)
Related branches
Changed in grub2 (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Colin Watson (cjwatson) |
To post a comment you must log in.
I had fixed that for myself with this script (in /etc/pm/sleep.d/)
#!/bin/sh
# Tell grub that resume was succesfull
. "${PM_FUNCTIONS}"
case "$1" in
thaw)
grub-editenv /boot/grub/grubenv unset recordfail
;;
esac