[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56339] grub-set-default and grub-reboot utilities should check for
From: |
tot-to |
Subject: |
[bug #56339] grub-set-default and grub-reboot utilities should check for MENU_ENTRY parameter validity |
Date: |
Fri, 17 May 2019 08:27:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<https://savannah.gnu.org/bugs/?56339>
Summary: grub-set-default and grub-reboot utilities should
check for MENU_ENTRY parameter validity
Project: GNU GRUB
Submitted by: tot_to
Submitted on: Fri 17 May 2019 12:27:45 PM UTC
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: other
Reproducibility: None
Planned Release: None
_______________________________________________________
Details:
In case of a typo in the MENU_ENTRY parameter both grub-set-default and
grub-reboot utilities exit with no error message and with successful exit
status. After the reboot grub will try to load the first menu entry found in
grub.cfg
I believe it it a very serious issue. In case if the first entry refers to an
unbootable configuration on a remote server, it leads to total loose of the
system until physical access is possible!
Steps to reproduce:
# grub-set-default blahblahblah && echo success
Expected results:
1) A error message
2) No change of the default menu entry upon reboot
Actual results:
1) Message 'success' is printed
2) The default menu entry in changed to the fist entry in grub.cfg upon
reboot
The same issue on my distribution's tracker:
https://bugs.gentoo.org/686054
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56339>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #56339] grub-set-default and grub-reboot utilities should check for MENU_ENTRY parameter validity,
tot-to <=