Comment 0 for bug 913336

Revision history for this message
Richard Laager (rlaager) wrote :

/etc/init.d/grub-common and /etc/pm/sleep.d/10_grub-common call grub-editenv to clear the recordfail setting to indicate that the system booted or awoke successfully. They call grub-editenv, which creates the grubenv file if it doesn't exist. If the admin has deleted the grubenv file intentionally because they don't want grub writing to the filesystem (or because grub lacks write support for that filesystem), this behavior is annoying.

The attached patch fixes this. However, I'm not sure what is supposed to create /boot/grub/grubenv originally. If it's the init script, then some further changes will be required.