containers / storage

Container Storage Library
Apache License 2.0
558 stars 239 forks source link

composefs: podman save: tar: write too long #1892

Closed edsantiago closed 5 months ago

edsantiago commented 5 months ago
# bin/podman pull -q quay.io/libpod/cirros:latest
3c82e4d066cf6f9e50efaead6e3ff7fddddf5527826afd68e5a969579fc4db4a
# bin/podman save -o /tmp/foo.tar quay.io/libpod/cirros:latest
Copying blob b993cfcfd8fd done   | 
Copying blob aa107a407592 .                                        1.3 MiB/s
Copying blob 858d98ac4893 done   | 
Error: writing blob: archive/tar: write too long

Context: podman @ 6eaa1d55a035b68c8a75031b586addbfde9f1096 on Rawhide with the following /etc/containers/storage.conf:

[storage]
driver = "overlay"
runroot = "/run/containers/storage"
graphroot = "/var/lib/containers/storage"

[storage.options]
pull_options = {enable_partial_images = "true", use_hard_links = "false", ostree_repos="", convert_images = "true"}

[storage.options.overlay]
use_composefs = "true"

composefs-1.0.3-1.fc40.x86_64

I believe this will also reproduce on f39 but don't feel like testing. In containers/podman#22425 it fails f39 and rawhide, local and remote. Does not fail f38 because, my hunch is, that uses vfs instead of overlay.

Luap99 commented 5 months ago

@giuseppe PTAL

giuseppe commented 5 months ago

opened a PR: https://github.com/containers/storage/pull/1893