[Bug 1927779] Re: MODULES=list results in error
Dan Streetman
1927779 at bugs.launchpad.net
Thu May 13 19:01:13 UTC 2021
ubuntu at lp1927779-g:~$ dpkg -l | grep initramfs-tools
ii initramfs-tools 0.137ubuntu12 all generic modular initramfs generator (automation)
ii initramfs-tools-bin 0.137ubuntu12 amd64 binaries used by initramfs-tools
ii initramfs-tools-core 0.137ubuntu12 all generic modular initramfs generator (core tools)
ubuntu at lp1927779-g:~$ grep MODULES= /etc/initramfs-tools/initramfs.conf
MODULES=list
ubuntu at lp1927779-g:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.8.0-53-generic
find: ‘/var/tmp/mkinitramfs_6itbCp/lib/modules/5.8.0-53-generic/kernel’: No such file or directory
ubuntu at lp1927779-g:~$ dpkg -l | grep initramfs-tools
ii initramfs-tools 0.137ubuntu12.1 all generic modular initramfs generator (automation)
ii initramfs-tools-bin 0.137ubuntu12.1 amd64 binaries used by initramfs-tools
ii initramfs-tools-core 0.137ubuntu12.1 all generic modular initramfs generator (core tools)
ubuntu at lp1927779-g:~$ grep MODULES= /etc/initramfs-tools/initramfs.conf
MODULES=list
ubuntu at lp1927779-g:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.8.0-53-generic
ubuntu at lp1927779-g:~$
** Tags removed: verification-needed-groovy
** Tags added: verification-done-groovy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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
More information about the foundations-bugs
mailing list