← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2114503] Re: dracut-install called from update-initramfs prefers non-dkms module version

 

installed dracut-core and built initrd with 
# dracut -f /boot/initramfs-6.8.0-60-generic.img 6.8.0-60-generic
correct module was picked, so moving bug to initramfs-tools package

** Package changed: dracut (Ubuntu) => initramfs-tools (Ubuntu)

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2114503

Title:
  dracut-install called from update-initramfs prefers non-dkms module
  version

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  Distributor ID: Ubuntu
  Description:    Ubuntu 24.04.2 LTS
  Release:        24.04
  Codename:       noble

  6.8.0-60-generic

  ii  dracut-install                       060+5-1ubuntu3.3           
  ii  initramfs-tools                      0.142ubuntu25.5            
  ii  initramfs-tools-bin                  0.142ubuntu25.5            
  ii  initramfs-tools-core                 0.142ubuntu25.5            

  Recently update-initramfs seems to use dracut-install as a backend and
  the logic for selecting modules for installation has apparently
  changed.

  I'm using dkms version of i40e instead of kernel in-tree module.
  Both files exist in /lib/modules/version directory
  # find /lib/modules/6.8.0-60-generic -name i40e.ko.zst
  ./updates/dkms/i40e.ko.zst
  ./kernel/drivers/net/ethernet/intel/i40e/i40e.ko.zst
  but until dracut-install, only the new one was copied to initramfs (I think previous logic involved parsing modules.dep)

  dracut-install prefers the old one:
  # update-initramfs -u -k $(uname -r) -v 2>&1 | grep i40e
  dracut-install: mkdir '/var/tmp/mkinitramfs_yQoej6/lib/modules/6.8.0-60-generic/kernel/drivers/net/ethernet/intel/i40e'
  dracut-install: cp '/lib/modules/6.8.0-60-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.ko.zst' '/var/tmp/mkinitramfs_yQoej6/lib/modules/6.8.0-60-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.ko.zst'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2114503/+subscriptions



References