Description of problem: When installing Fedora 29 on UEFI system Anaconda correctly adds grub2-efi and shim packages as part of the installation package set (e.g., grub2-efi-x64 and shim-x64 on an x86_64 laptop, for some reason also the 32-bit packages). These packages are not protected in dnf (under /etc/yum/protected.d) so a simple administrator action or a script or playbook could remove these packages, rendering the system completely unbootable so that even GRUB menu is never reached (as /boot/efi/EFI/redhat/shimx64.efi would be missing). Version-Release number of selected component (if applicable): Fedora 29 Beta How reproducible: Always Steps to Reproduce: 1. Install Fedora 29 on UEFI system 2. Reboot 3. dnf remove grub2-efi-x64 shim-x64 Actual results: Critical packages for system to even show GRUB menu are allowed to be removed. Expected results: Critical packages are protected from removal (at least on dnf level, preferable also with rpm dependencies so that "rpm -e ..." would fail as well).
On [my install of] Fedora 30 the location to put this data appears to be /etc/dnf/protected.d/*.conf The files I see on my system in there are all provided by the respective packages. Following that logic, the bug really is against the grub2 and shim components.
There's more discussion of this in the RHEL version of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1639168 where I suggested the same thing. I'm not entirely clear why the initial proposals in that bug are all to do something more complicated when a simple fix appears to be available.
I agree - let's move this to grub2.
This message is a reminder that Fedora 29 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '29'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 29 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This is still a valid proposal, I believe.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
Note that the shim package is covered by #1874541
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
*** This bug has been marked as a duplicate of bug 1874541 ***