ubuntu@lp1927779-f:~$ dpkg -l |grep initramfs-tools
ii  initramfs-tools                0.136ubuntu6.4                        all    
      generic modular initramfs generator (automation)
ii  initramfs-tools-bin            0.136ubuntu6.4                        amd64  
      binaries used by initramfs-tools
ii  initramfs-tools-core           0.136ubuntu6.4                        all    
      generic modular initramfs generator (core tools)
ubuntu@lp1927779-f:~$ grep MODULES= /etc/initramfs-tools/initramfs.conf 
MODULES=list
ubuntu@lp1927779-f:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic
find: ‘/var/tmp/mkinitramfs_zLaWLR/lib/modules/5.4.0-72-generic/kernel’: No 
such file or directory

ubuntu@lp1927779-f:~$ dpkg -l |grep initramfs-tools
ii  initramfs-tools                0.136ubuntu6.5                        all    
      generic modular initramfs generator (automation)
ii  initramfs-tools-bin            0.136ubuntu6.5                        amd64  
      binaries used by initramfs-tools
ii  initramfs-tools-core           0.136ubuntu6.5                        all    
      generic modular initramfs generator (core tools)
ubuntu@lp1927779-f:~$ grep MODULES= /etc/initramfs-tools/initramfs.conf 
MODULES=list
ubuntu@lp1927779-f:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic
ubuntu@lp1927779-f:~$ 


** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  MODULES=list results in error

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Bionic:
  Invalid
Status in initramfs-tools source package in Focal:
  Fix Committed
Status in initramfs-tools source package in Groovy:
  Fix Committed

Bug description:
  [impact]

  setting MODULES=list in /etc/initramfs-tools/initramfs.conf results in
  an error/warning when running update-initramfs

  [test case]

  edit initramfs.conf to change MODULES=list and run update-initramfs:

  $ grep MODULES /etc/initramfs-tools/initramfs.conf
  # MODULES: [ most | netboot | dep | list ]
  MODULES=list
  $ sudo update-initramfs -u
  update-initramfs: Generating /boot/initrd.img-5.8.0-48-generic
  find: ‘/var/tmp/mkinitramfs_Yr04uh/lib/modules/5.8.0-48-generic/kernel’: No 
such file or directory

  [regression potential]

  any regression would likely result in an initramfs that did not
  include the correct/required modules, and/or failure to build a new
  initramfs

  [scope]

  this is needed for f and g.

  this is not fixed in debian, but is fixed in h and i.

  the code in b is different and doesn't include this bug, so this
  doesn't apply to b.

  for debian, MR open:
  https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/48

  [other info]

  this caused some of the 'amd64-*' autopkgtests to fail in h until it
  was fixed. those autopkgtests don't exist in g and earlier so this was
  not noticed until now.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to