GNU GRUB - Bugs: bug #61368, menuentry statement should unset...
You are not allowed to post comments on this tracker with your current authentication level.
bug #61368: menuentry statement should unset variable chosen, unless enclosed in submenu statement
Submitter: | Ulf Zibis <ulfzibis> | ||
Submitted: | Fri 22 Oct 2021 02:35:55 PM UTC | ||
Category: | Configuration | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | other |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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.
No changes have been made to this item
Powered by Savane 3.13-4448.
Corresponding source code
Hi,
in GRUB configuration there can exist the 2 following situations:
submenu AAA {
menuentry BBB {
}
}
or:
menuentry AAA {
menuentry BBB {
}
}
In the latter situation, the inner menuentry statement should first unset variable chosen, otherwise saved_entry from GRUB environment block will not work as expected.
For more details, please read this discussion:
https://lists.gnu.org/archive/html/help-grub/2021-10/msg00004.html