[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tar 1.35: --delete creates tarfiles with duplicate file paths
From: |
Ed Santiago |
Subject: |
Re: tar 1.35: --delete creates tarfiles with duplicate file paths |
Date: |
Fri, 11 Aug 2023 06:32:18 -0600 |
On Fri, Aug 11, 2023 at 08:33:03AM +0200, Sergey Poznyakoff wrote:
> Hi Ed,
>
> > The --delete flag in 1.35 can generate a tarball that is
> > unreadable by podman and possibly other tools using the
> > Go tar library:
>
> Unfortunately I cannot reproduce it,
>
> > $ podman create --name a quay.io/libpod/testimage:20221018
> > $ podman export a >/tmp/a.tar
> > $ tar --delete -f /tmp/a.tar home/podman/pause
>
> Can you send me the a.tar archive before and after delete.
> or put them somewhere so I can download them?
Curious! It's 100% reproducible on my end. I've attached ante
and post (before/after, but ASCII sortable) to:
https://bugzilla.redhat.com/show_bug.cgi?id=2230127
...and added a comment describing the dups found with
tar tf a.post.tar | sort | uniq -cd
Hope this helps,
Ed
--
Ed Santiago [he/him] Toolsmith santiago@redhat.com