[Bug 1197195] [Build 20220315] dracut-initramfs-restore: cpio: Malformed number
https://bugzilla.suse.com/show_bug.cgi?id=1197195 https://bugzilla.suse.com/show_bug.cgi?id=1197195#c7 --- Comment #7 from Thomas Blume <thomas.blume@suse.com> --- (In reply to Fabian Vogt from comment #5)
https://github.com/dracutdevs/dracut/commit/ e86397de24f4efa6d36e2bb5ae84b7d9ec69b72d is broken.
It first attempts to extract the initrd as uncompressed archive with cpio, by passing compressed data to cpio directly. cpio doesn't know what to do with the practically random data and that results in the error messages we see.
dracut-restore-initramfs needs to either identify the compression algorithm by looking at the signature (like the Linux kernel in lib/decompress.c), or just attempt cpio directly as the last option.
The issue is fixed by using a patched dracut package from: https://build.opensuse.org/package/show/home:afeijoo:branches:openSUSE:Facto... See reference test at: http://moore.arch.suse.de/tests/5222 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com