[Kernel-packages] [Bug 1839236] Re: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
** Changed in: linux-firmware (Ubuntu Disco) Status: New => Won't Fix -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1839236 Title: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf Status in linux-firmware package in Ubuntu: New Status in linux-firmware source package in Bionic: New Status in linux-firmware source package in Disco: Won't Fix Bug description: When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables constructing autopkgtest vm with minial cloud images [1], it fails to install linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf from package initramfs-tools-core may not have been installed: ``` cloud-init[528]: Setting up linux-firmware (1.173.9) ... cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf cloud-init[528]: update-initramfs: failed for /boot/initrd.img-4.15.0-1039-kvm with 2. cloud-init[528]: dpkg: error processing package linux-firmware (--configure): cloud-init[528]: installed linux-firmware package post-installation script subprocess returned error exit status 2 ``` See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649 for full log. [1]: https://cloud-images.ubuntu.com/minimal/daily/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1839236] Re: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
>From linux-firmware postinst script it has: 5 if [ -x /usr/sbin/update-initramfs ]; then 6 /usr/sbin/update-initramfs -u -k all 7 fi and since this is optional, there is no dependency to initramfs-tools- bin declared. I think we can test if the initramfs-tools package has completed installation instead: `dpkg-query --show -f '${Status}' initramfs-tools`. ** Changed in: linux-firmware (Ubuntu Bionic) Importance: Undecided => Low ** Changed in: linux-firmware (Ubuntu Disco) Importance: Undecided => Low -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1839236 Title: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf Status in linux-firmware package in Ubuntu: New Status in linux-firmware source package in Bionic: New Status in linux-firmware source package in Disco: New Bug description: When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables constructing autopkgtest vm with minial cloud images [1], it fails to install linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf from package initramfs-tools-core may not have been installed: ``` cloud-init[528]: Setting up linux-firmware (1.173.9) ... cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf cloud-init[528]: update-initramfs: failed for /boot/initrd.img-4.15.0-1039-kvm with 2. cloud-init[528]: dpkg: error processing package linux-firmware (--configure): cloud-init[528]: installed linux-firmware package post-installation script subprocess returned error exit status 2 ``` See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649 for full log. [1]: https://cloud-images.ubuntu.com/minimal/daily/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1839236] Re: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
Should be low as one can always issue another dpkg-reconfigure later to easily fix this situation. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1839236 Title: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf Status in linux-firmware package in Ubuntu: New Status in linux-firmware source package in Bionic: New Status in linux-firmware source package in Disco: New Bug description: When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables constructing autopkgtest vm with minial cloud images [1], it fails to install linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf from package initramfs-tools-core may not have been installed: ``` cloud-init[528]: Setting up linux-firmware (1.173.9) ... cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf cloud-init[528]: update-initramfs: failed for /boot/initrd.img-4.15.0-1039-kvm with 2. cloud-init[528]: dpkg: error processing package linux-firmware (--configure): cloud-init[528]: installed linux-firmware package post-installation script subprocess returned error exit status 2 ``` See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649 for full log. [1]: https://cloud-images.ubuntu.com/minimal/daily/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1839236] Re: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
>From the full log, the original minimal cloud image doesn't have initramfs-* packages installed in the first place. So when it's configuring linux-firmware, all those tools are in unpacked state except initramfs-tools-bin has been full setup then. So this happened in some intermediate state that initramfs-tools is not fully configured yet, and maybe some other dependencies, checks should be added in either initramfs-tools or linux-firmeware. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1839236 Title: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf Status in linux-firmware package in Ubuntu: New Status in linux-firmware source package in Bionic: New Status in linux-firmware source package in Disco: New Bug description: When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables constructing autopkgtest vm with minial cloud images [1], it fails to install linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf from package initramfs-tools-core may not have been installed: ``` cloud-init[528]: Setting up linux-firmware (1.173.9) ... cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf cloud-init[528]: update-initramfs: failed for /boot/initrd.img-4.15.0-1039-kvm with 2. cloud-init[528]: dpkg: error processing package linux-firmware (--configure): cloud-init[528]: installed linux-firmware package post-installation script subprocess returned error exit status 2 ``` See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649 for full log. [1]: https://cloud-images.ubuntu.com/minimal/daily/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1839236] Re: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
How does this situation come about? linux-firmware postinst invokes /usr/sbin/update-initramfs if it exists, i.e. initramfs-tools is installed. This depends on initramfs-tools-core, which should supply the missing file. However it happens, I don't think the issue lies in linux- firmware. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1839236 Title: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf Status in linux-firmware package in Ubuntu: New Status in linux-firmware source package in Bionic: New Status in linux-firmware source package in Disco: New Bug description: When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables constructing autopkgtest vm with minial cloud images [1], it fails to install linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf from package initramfs-tools-core may not have been installed: ``` cloud-init[528]: Setting up linux-firmware (1.173.9) ... cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf cloud-init[528]: update-initramfs: failed for /boot/initrd.img-4.15.0-1039-kvm with 2. cloud-init[528]: dpkg: error processing package linux-firmware (--configure): cloud-init[528]: installed linux-firmware package post-installation script subprocess returned error exit status 2 ``` See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649 for full log. [1]: https://cloud-images.ubuntu.com/minimal/daily/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1839236] Re: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
** Tags added: patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1839236 Title: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf Status in linux-firmware package in Ubuntu: New Status in linux-firmware source package in Bionic: New Status in linux-firmware source package in Disco: New Bug description: When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables constructing autopkgtest vm with minial cloud images [1], it fails to install linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf from package initramfs-tools-core may not have been installed: ``` cloud-init[528]: Setting up linux-firmware (1.173.9) ... cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf cloud-init[528]: update-initramfs: failed for /boot/initrd.img-4.15.0-1039-kvm with 2. cloud-init[528]: dpkg: error processing package linux-firmware (--configure): cloud-init[528]: installed linux-firmware package post-installation script subprocess returned error exit status 2 ``` See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649 for full log. [1]: https://cloud-images.ubuntu.com/minimal/daily/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1839236] Re: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
This affects bionic (https://gitlab.com/hustle-ci/autopkgtest- ubuntu/-/jobs/265419649) and disco (https://gitlab.com/hustle-ci /autopkgtest-ubuntu/-/jobs/265419647). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1839236 Title: failed to configure linux-firmware in minimal cloud image based vm in cloud-init: Can't open /etc/initramfs-tools/initramfs.conf Status in linux-firmware package in Ubuntu: New Status in linux-firmware source package in Bionic: New Status in linux-firmware source package in Disco: New Bug description: When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables constructing autopkgtest vm with minial cloud images [1], it fails to install linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf from package initramfs-tools-core may not have been installed: ``` cloud-init[528]: Setting up linux-firmware (1.173.9) ... cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf cloud-init[528]: update-initramfs: failed for /boot/initrd.img-4.15.0-1039-kvm with 2. cloud-init[528]: dpkg: error processing package linux-firmware (--configure): cloud-init[528]: installed linux-firmware package post-installation script subprocess returned error exit status 2 ``` See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649 for full log. [1]: https://cloud-images.ubuntu.com/minimal/daily/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp