-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tar 1.35.1 (rawhide): podman import, with modified tar: duplicates of file paths not supported #19407
Comments
This appears to be a bug in podman create --name foo quay.io/libpod/testimage:20221018
podman export -f /tmp/a.tar foo
tar --delete home/podman/pause -f /tmp/a.tar
podman import -f /tmp/a.tar Running |
Recipe: run the above With tar 1.34
With tar 1.35.1
Looks like 1.34 has a bug where it deletes random entries (symlinks maybe?). I am not concerned about that. 1.35, though, adds duplicates. This is what then causes podman (presumably the go tar library) to barf with "duplicates not allowed". I can't make a simple reproducer. Ideally I could file a # tar xf /tmp/podman-exported-image.tar
# tar cf /tmp/foo.tar .
# tar --delete ...
# tar tf <----- deletes only what I ask, does not add any new duplicates Giving up for today. Here's the tar git repo should anyone feel inclined to bisect. |
Ref: #19407 Signed-off-by: Chris Evich <[email protected]>
Filed bz2230127 |
The cause is e89c7a4. |
Oh wow @edsantiago you figured it out! Nice job! I don't think anybody would have followed through on that for maybe weeks or months. Good on you 👍 |
Can we close this or do we need to wait for the package to get updated on Rawhide? |
Package was not in updates-testing this morning, but it's out of bodhi so I guess it's safe to close. |
FWIW, I just finished building & releasing updated CI VM images this afternoon. Not sure if they include this new tar or not: containers/automation_images#294 |
If podman CI passes, tar is good. |
- containers#15074 ("subtree_control" flake). The flake is NOT FIXED, I saw it six months ago on my (non-aarch64) laptop. However, it looks like the frequent-flake-on-aarch64 bug is resolved. I've been testing in containers#17831 and have not seen it. So, tentatively remove the skip and see what happens. - Closes: containers#19407 (broken tar, "duplicates of file paths") All Fedoras now have a fixed tar. Debian DOES NOT, but we're handling that in our build-ci-vm code. I.e., the Debian VM we're using has a working tar even though there's currently a broken tar out in the wild. Added distro-integration tag so we can catch future problems like this in OpenQA. - Closes: containers#19471 (brq / blkio / loopbackfs in rawhide) Bug appears to be fixed in rawhide, at least in the VMs we're using now. Added distro-integration tag because this test obviously relies on other system stuff. Signed-off-by: Ed Santiago <[email protected]>
Reproducer (copy/paste/run):
(I used podman-from-source for convenience, but also fails with podman-4.5-from-rpm).
Import barfs with:
tar-1.35-1.fc39.x86_64, works perfectly fine with 1.34-8.fc39
Almost certainly a
tar
bug, not podman, but (1) tracking here because it is blocking #18612, and (2) I have no idea what podman is doing with tar, or how to write a tar reproducer. I leave that to someone familiar withpodman import
.The text was updated successfully, but these errors were encountered: