http://bugzilla.opensuse.org/show_bug.cgi?id=1195291 http://bugzilla.opensuse.org/show_bug.cgi?id=1195291#c9 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Leap 15.3 |Leap 15.5 Summary|initrd is being rebuilt |initrd is being rebuilt |when kernel is being |when kernel is being |removed after kernel update |removed --- Comment #9 from Felix Miata <mrmazda@earthlink.net> --- To reproduce: 1-(e.g.) # zypper rm kernel-default-5.14.19-150400.1 Actual behavior: 1-(from /var/log/history): 2022-08-20 16:44:01|command|root@gb970|'zypper' 'rm' 'kernel-default-5.14.19-150400.1'| # 2022-08-20 16:44:40 kernel-default-extra-5.14.19-150400.1.1.x86_64 removed ok # Additional rpm output: # dracut: Executing: /usr/bin/dracut -f /boot/initrd-5.14.19-150400.1-default 5.14.19-150400.1-default ... # dracut: *** Stripping files done *** # dracut: *** Creating image file '/boot/initrd-5.14.19-150400.1-default' *** # dracut: *** Creating initramfs image file '/boot/initrd-5.14.19-150400.1-default' done *** # 2022-08-20 16:44:40|remove |kernel-default-extra|5.14.19-150400.1.1|x86_64|root@gb970| 2022-08-20 16:44:47|remove |kernel-default|5.14.19-150400.1.1|x86_64|root@gb970| Expected behavior: 1-2022-08-20 16:44:01|command|root@gb970|'zypper' 'rm' 'kernel-default-5.14.19-150400.1'| # 2022-08-20 16:44:40 kernel-default-extra-5.14.19-150400.1.1.x86_64 removed ok 2022-08-20 16:44:40|remove |kernel-default-extra|5.14.19-150400.1.1|x86_64|root@gb970| 2022-08-20 16:44:47|remove |kernel-default|5.14.19-150400.1.1|x86_64|root@gb970| 2-no resources wasted rebuilding initrd that is to be immediately removed Additional comments: 1-kernel-default-extra on this and several other hosts here gets installed for the exclusive reason that the required nouveau kernel module is omitted from the kernel-default package. 2-purge-kernels service is not used here. Kernels are removed completely independently of any kernel update processes, so adjusting summary accordingly, and updating version from 15.3 to 15.5 per comment #8. -- You are receiving this mail because: You are the assignee for the bug.