URL: <https://savannah.gnu.org/bugs/?67020>
Summary: unrestricted submenu causes contained menuentry to be unrestricted as well Group: GNU GRUB Submitter: ysalmon Submitted: dim. 13 avril 2025 20:22:09 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: other Release: Reproducibility: Every Time Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: dim. 13 avril 2025 20:22:09 By: Anonymous When a password is set, entries that are not marked as --unrestricted require a password to be entered. This includes submenus : entering them is also restricted. However, setting --unrestricted to a submenu command also makes the menuentries it contains bootable without password. submenu "Unrestricted submenu" --unrestricted { menuentry "Should be restricted but is not" { normal } } The [https://www.gnu.org/software/grub/manual/grub/grub.html#submenu documentation] is very terse, and it is not possible to infer this behaviour from it, which I believe is a bug. In addition, how can I specify a submenu entry to be restricted, without restricting the submenu itself ? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67020> _______________________________________________ Message posté via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature