Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64242 > unrolled thread

Bug#930366: initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd

Started byDimitri John Ledkov <xnox@ubuntu.com>
First post2019-06-11 16:20 +0200
Last post2019-08-23 10:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#930366: initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd Dimitri John Ledkov <xnox@ubuntu.com> - 2019-06-11 16:20 +0200
    Bug#930366: marked as done (initramfs-tools: unmkinitramfs fails  to unpack lz4 compressed initrd) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-07-28 03:00 +0200
    Bug#930366: marked as done (initramfs-tools: unmkinitramfs fails  to unpack lz4 compressed initrd) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-08-23 10:10 +0200

#64242 — Bug#930366: initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd

FromDimitri John Ledkov <xnox@ubuntu.com>
Date2019-06-11 16:20 +0200
SubjectBug#930366: initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd
Message-ID<y7PMZ-3e4-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: initramfs-tools
Version: 0.133
Severity: normal
Tags: patch

Dear Maintainer,

unmkinitramfs fails to unpack lz4 compressed initrd, ie.:

$ sudo apt install initramfs-tools lz4 file
$ mkinitramfs -c lz4 -o foo.img
$ unmkinitramfs foo.img bar
cpio: premature end of archive
$ echo $?
2

I think this is because lz4cat is strict with file extensions:

$ file foo.img 
foo.img: LZ4 compressed data (v0.1-v0.9)
$ lz4cat -t foo.img 
File extension doesn't match expected LZ4_EXTENSION (.lz4); will not process file: foo.img

I propose the attached patch to change 'lz4cat -t $archive'
invocations to become 'lz4cat -t <$archive' instead. As lz4cat does
not / cannot enforce extension checking on streams.

Regards,

Dimitri.

[toc] | [next] | [standalone]


#64569 — Bug#930366: marked as done (initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-07-28 03:00 +0200
SubjectBug#930366: marked as done (initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd)
Message-ID<yoFHA-1TM-1@gated-at.bofh.it>
In reply to#64242

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 28 Jul 2019 00:50:51 +0000
with message-id <E1hrXOl-0009B3-Kz@fasolo.debian.org>
and subject line Bug#930366: fixed in initramfs-tools 0.134
has caused the Debian Bug report #930366,
regarding initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
930366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930366
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#64894 — Bug#930366: marked as done (initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-08-23 10:10 +0200
SubjectBug#930366: marked as done (initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd)
Message-ID<yycNY-11G-19@gated-at.bofh.it>
In reply to#64242

[Multipart message — attachments visible in raw view] — view raw

Your message dated Fri, 23 Aug 2019 07:57:03 +0000
with message-id <E1i14RT-00065z-KH@fasolo.debian.org>
and subject line Bug#930366: fixed in initramfs-tools 0.133+deb10u1
has caused the Debian Bug report #930366,
regarding initramfs-tools: unmkinitramfs fails to unpack lz4 compressed initrd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
930366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930366
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web