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 InterfaceSeverity: Major
Priority: 3 - LowItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: Git masterReproducibility: 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 click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Oct 2016 01:47:59 PM UTCphcoderPriority5 - Normal=>3 - Low
    Wed 02 Mar 2016 01:35:11 PM UTCphcoderPlanned ReleaseNone=>2.03+
    Thu 23 Jul 2015 04:08:59 PM UTClukas_vacekAttached File-=>Added 0001-grub-reboot-don-t-set-next_entry-in-certain-cases.patch, #34493

    Back to the top

    Powered by Savane 3.1-cleanup1