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

Submitter:  Lukas Vacek <lukas_vacek>
Submitted:  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:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  2.03+

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

Hi!

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.

Thanks!
Lucas

Lukas Vacek <lukas_vacek>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-3230.
    Corresponding source code