Description of problem: [root@hayes-03 ~]# boom list WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only BootID Version Name RootDevice d011a11 5.14.0-44.el9.x86_64 Red Hat Enterprise Linux UUID=f244593b-352a-4dc6-891d-b7ebf6014aa9 [root@hayes-03 ~]# boom delete d011a11 WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only Entry does not exist: /boot/loader/entries/914bad8a1084420bb933ef7a98196594-d011a11-5.14.0-44.el9.x86_64.conf [root@hayes-03 ~]# echo $? 1 Version-Release number of selected component (if applicable): boom-boot-1.3-3.el9 BUILT: Mon Aug 9 02:52:24 PM CDT 2021
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