** Bug watch added: Debian Bug tracker #930366 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930366
** Also affects: initramfs-tools (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930366 Importance: Unknown Status: Unknown ** Description changed: + [Impact] + + * Cannot unpack initrds compressed with lz4 due to changes in lz4 + + [Test Case] + + $ sudo apt install initramfs-tools lz4 file + $ mkinitramfs -c lz4 -o foo.img + $ lsinitramfs foo.img + cpio: premature end of archive + + [Regression Potential] + + * New lz4cat is more strict w.r.t. enforcing file name extensions, thus + the fix is to feed a stream to lz4cat instead of asking it to open a + file. The performance impact should be similar between both methods of + reading file contents during ls/unmk-initramfs time. + + [Other Info] + + Original bug report: + unmkinitramfs fails with lz4 compressed initrds Note: - $ lz4cat -t unmkinitramfs_Cz6Yl9 File extension doesn't match expected LZ4_EXTENSION (.lz4); will not process file: unmkinitramfs_Cz6Yl9 - - - And - - $ lsinitramfs /boot/initrd.img - kernel - kernel/x86 - kernel/x86/microcode - kernel/x86/microcode/.enuineIntel.align.0123456789abc - kernel/x86/microcode/GenuineIntel.bin - cpio: premature end of archive ** Changed in: initramfs-tools (Ubuntu Cosmic) Status: Confirmed => In Progress ** Changed in: initramfs-tools (Ubuntu Disco) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1832108 Title: unmkinitramfs fails with lz4 compressed initrds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs