bugGNU GRUB - Bugs: bug #45609, grub-reboot should warn when...


You are not allowed to post comments on this tracker with your current authentication level.

bug #45609: grub-reboot should warn when device with bootdir does not support the environment block

Submitted by:  Lukas Vacek <lukas_vacek>
Submitted on:  Thu 23 Jul 2015 04:08:59 PM UTC  
Category:  User Interface Severity:  Major
Priority:  3 - Low Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  Git master Reproducibility:  Every Time
Planned Release:  2.03+

Thu 23 Jul 2015 04:08:59 PM UTC, original submission:


There is a rather annoying usability problem with grub-reboot. When the bootdir is on a device with disabled environment block writes (https://www.gnu.org/software/grub/manual/html_node/Environment-block.html - lvm, raid, zfs ...), next_entry is never cleared.

This means that the boot option set with grub-reboot is not used only once but always - even after running update-grub the boot option selected to boot once is still used by grub(!) - the user must debug the problem all the way down and, for example, delete /boot/grub/grubenv.

Patch attached prevents grub-reboot working on a device with lvm or raid or zfs or btrfs.


Lukas Vacek <lukas_vacek>



Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by lukas_vacek (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-11 phcoder Priority5 - Normal => 3 - Low
    2016-03-02 phcoder Planned ReleaseNone => 2.03+
    2015-07-23 lukas_vacek Attached File- => Added 0001-grub-reboot-don-t-set-next_entry-in-certain-cases.patch, #34493

    Back to the top

    Powered by Savane 3.3