Bug 2046433
| Summary: | "Entry does not exist" when attempting to delete a listed boom entry | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | boom-boot | Assignee: | Bryn M. Reeves <bmr> |
| Status: | VERIFIED --- | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9.0 | CC: | agk, bmr, jbrassow, mcsontos |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | boom-boot-1.5.1-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Corey Marthaler
2022-01-26 16:46:01 UTC
These are boot entries provided by the system - boom treats them as read-only, and should not allow you to delete them but the error message is confusing and should be changed to something like "Cannot delete read-only boot entry d011a11". This was fixed upstream:
commit 42f66737e1d7dec432cd7fc330f87304a585c308
Author: Bryn M. Reeves <bmr>
Date: Tue Jun 14 07:54:29 2022 -0400
boom.bootloader: do not allow deletion of read-only boot entries
Currently when attempting to delete an entry that has been marked
read-only boom generates a misleading error message:
# boom delete 7fce1e5
Entry does not exist: /boot/loader/entries/619c4d9f1efa4cf7bd76f149f12138a0-7fce1e5-5.14.0-108.el9.x86_64.conf
Boom should not attempt to delete entries that are marked read-only;
these are either system provided entries, or entries that have been
modified outside of boom's control. Reject attempts to delete these
with an error that indicates the reason they cannot be removed:
# boom delete f6f8df5
Cannot delete read-only boot entry: /boot/loader/entries/68f613d8774e41e792fad28212cfedae-4.18.0-348.el8.x86_64.conf
Resolves: #10
Signed-off-by: Bryn M. Reeves <bmr>
This appears to be fixed in the latest 9.3 boom build, however the Fixed In version is not yet set. boom-boot-1.5.1-1.el9 BUILT: Wed May 17 03:00:49 PM CEST 2023 [root@virt-521 ~]# boom list BootID Version Name RootDevice 46a62fb 5.14.0-312.el9.x86_64 Red Hat Enterprise Linux /dev/mapper/rhel_virt--521-root [root@virt-521 ~]# boom delete 46a62fb Cannot delete read-only boot entry: /boot/loader/entries/c3af67c026d4445a8e38bad5ae16d7f5-5.14.0-312.el9.x86_64.conf Marking Verfied:Tested in the latest rpms. boom-boot-1.5.1-1.el9 BUILT: Wed May 17 03:00:49 PM CEST 2023 [root@grant-01 ~]# boom list BootID Version Name RootDevice 6aa5654 5.14.0-322.el9.x86_64 Red Hat Enterprise Linux /dev/mapper/rhel_grant--01-root [root@grant-01 ~]# boom delete 6aa5654 Cannot delete read-only boot entry: /boot/loader/entries/7b2d82dad70f4ece8f867b6a482308de-5.14.0-322.el9.x86_64.conf |