Bug 1874541 - Please mark shim packages as protected packages with DNF
Summary: Please mark shim packages as protected packages with DNF
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: shim
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1640920 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-01 14:54 UTC by Neal Gompa
Modified: 2021-06-29 20:05 UTC (History)
5 users (show)

Fixed In Version: shim-15.4-4 shim-15.4-5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-23 21:03:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure fedora-workstation issue 165 0 None None None 2020-09-01 14:54:58 UTC

Description Neal Gompa 2020-09-01 14:54:59 UTC
Description of problem:

There have been situations where people have wound up accidentally removing the bootloader and breaking their installs.

In order to minimize the chances of this happening in the future, please install a configuration snippet as /etc/dnf/protected.d/shim.conf with a newline separated list of shim packages that should not be allowed to be removed once installed.

At least for my system, it looks like the config would look like this:

shim-x64
shim-ia32

Probably you'd want to add the package names for the stuff for other architectures, too...

Comment 1 Fedora Update System 2021-01-12 16:19:47 UTC
FEDORA-2021-fba7d5cb34 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 2 Fedora Update System 2021-01-12 16:37:55 UTC
FEDORA-2021-976bd8ab94 has been pushed to the Fedora ELN stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Javier Martinez Canillas 2021-01-16 10:01:14 UTC
Changing the status to NEW since this was wrongly closed.

Comment 4 Ben Cotton 2021-02-09 15:17:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 5 Fedora Update System 2021-04-06 19:47:39 UTC
FEDORA-2021-cab258a413 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cab258a413

Comment 6 Fedora Update System 2021-04-06 19:47:41 UTC
FEDORA-2021-f5540ef3d6 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f5540ef3d6

Comment 7 Fedora Update System 2021-04-07 18:15:48 UTC
FEDORA-2021-cab258a413 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cab258a413`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cab258a413

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-04-21 11:20:17 UTC
FEDORA-2021-cab258a413 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cab258a413

Comment 9 Fedora Update System 2021-04-21 15:00:49 UTC
FEDORA-2021-cab258a413 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cab258a413`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cab258a413

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-04-23 21:03:24 UTC
FEDORA-2021-cab258a413 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2021-05-05 01:09:19 UTC
FEDORA-2021-6af97ebae4 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Javier Martinez Canillas 2021-06-29 20:05:06 UTC
*** Bug 1640920 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.