Checkpoint-restore-checkpoint-restore loses changes to rootfs #4606
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I believe that diffing root filesystem for checkpointing picks the wrong base for diffing on consecutive checkpoints.
Steps to reproduce the issue:
Describe the results you received:
Changes to the rootfs between first and second checkpoint are lost.
Describe the results you expected:
All changes to the rootfs are preserved.
Additional information you deem important (e.g. issue happens only occasionally):
Sorry about not testing against the latest version, but updating breaks my setup and a cursory glance across the files touched in #3443 hints at no relevant changes since that time.
Possibly interested person: @adrianreber
Possibly relevant investigation starting place:
GetDiffTarStream
https://github.com/containers/libpod/blob/39c705e9405faa4d02b71165d05eec1e7bb44d93/libpod/diff.go#L66Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
A fairly regular Fedora 30 box.
The text was updated successfully, but these errors were encountered: