Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leapp upgrade failed to create new initramfs #809

Open
brianjmurrell opened this issue Jan 19, 2022 · 2 comments
Open

leapp upgrade failed to create new initramfs #809

brianjmurrell opened this issue Jan 19, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@brianjmurrell
Copy link
Contributor

Actual behavior
After a leapp upgrade and reboot, the upgraded system was left without an initramfs for the upgraded kernel.

To Reproduce
I didn't do anything particular, I don't think. Was a pretty straightforward leapp upgrade. Not sure of any particular steps to actually reproduce.

Expected behavior
After upgrade, there should be an initramfs for the upgraded kernel.

System information (please complete the following information):

  • OS and version: CentOS 7.9 -> Almalinux 8.4
  • Linux server.interlinx.bc.ca 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Additional context
After I logged in with an older kernel/initramfs from the pre-upgrade O/S and tried to run dracut /boot/initramfs-4.18.0-305.25.1.el8_4.x86_64.img 4.18.0-305.25.1.el8_4.x86_64 I got the following error:

dracut: dracut module 'systemd-bootchart' cannot be found or installed.'

which seems likely why the initramfs generation during the upgrade might have failed. This seems like it should be an inhibitor.

It seems that systemd-bootchart was removed from the base systemd package and branched into a separate package and not ported to EL8. From what I can tell.

Leapp definitely needs to be able to deal with this.

@brianjmurrell brianjmurrell added the bug Something isn't working label Jan 19, 2022
@pirat89
Copy link
Member

pirat89 commented Mar 7, 2023

Thanks for the report. I completely missed that. I am curious whether there is a way to reproduce it in RHEL. putting on my long-term todolist. As we have not more isses about that, I guess it's not priority or it has been fixed in additional packages.

@pirat89
Copy link
Member

pirat89 commented Mar 7, 2023

This seems related to issue #808

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants