[Bug debuginfod/27413] New: use bsdtar for .deb extraction too

fche at redhat dot com sourceware-bugzilla@sourceware.org
Sat Feb 13 18:56:19 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=27413

            Bug ID: 27413
           Summary: use bsdtar for .deb extraction too
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Back during bug #25583, we transitioned rpm unpacking to bsdtar (libarchive),
but left deb unpacking to dpkg-deb by default.  One factor in this was the
inconsistent naming convention of the "data.tar*" inner tarball: it can be
.xz or .bz2 or others.  Given a few reports of intermittent crashes via
dpkg-deb (bug #27399), and the ability of bsdtar to take glob patterns,
it's probably time to let bsdtar handle .debs too (and .ipkg).

The extracting pipe command would be:  (bsdtar -O -x -f - 'data.tar*')<

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list