Skip to content
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

[Error] podman system check - layer content modified. Podman reports "damaged" layers, image, and containers after distrobox create #1656

Closed
BenSmith opened this issue Jan 11, 2025 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed wait-on-user waiting for a reply

Comments

@BenSmith
Copy link

I have not found any issues describing this yet.

Immediately after distrobox create, podman system check claims my images and layers are damaged. I can still run the containers without any apparent issues. On the surface, the messages seem to suggest the mtime has changed. The hex values in the output can be sensibly interpreted as seconds since the epoch.

My suspicion is that this looks like a big deal but actually isn't.

ben@localhost:~$ podman system check
ben@localhost:~$ podman pull docker.io/library/alpine
Trying to pull docker.io/library/alpine:latest...
Getting image source signatures
Copying blob 1f3e46996e29 done   | 
Copying config b0c9d60fc5 done   | 
Writing manifest to image destination
b0c9d60fc5e3fa2319a86ccc1cdf34c94c7e69766e8cebfb4111f7e54f39e8ff
ben@localhost:~$ podman system check

# looks good still, create a container
ben@localhost:~$ podman run -it docker.io/library/alpine:latest sh
/ # ls
bin    dev    etc    home   lib    media  mnt    opt    proc   root   run    sbin   srv    sys    tmp    usr    var
/ # exit
ben@localhost:~$ podman container ls -a
CONTAINER ID  IMAGE                            COMMAND     CREATED         STATUS                    PORTS       NAMES
cb29835b4d01  docker.io/library/alpine:latest  sh          13 seconds ago  Exited (0) 7 seconds ago              mystifying_swanson
ben@localhost:~$ podman system check

# everything is cool still, create with distrobox
ben@localhost:~$ distrobox create -i docker.io/library/alpine -n alpine
Creating 'alpine' using image docker.io/library/alpine	 [ OK ]
Distrobox 'alpine' successfully created.
To enter, run:

distrobox enter alpine

# and here it is
ben@localhost:~$ podman system check
Damaged layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba:
4 errors occurred:
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /bin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /etc(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /sbin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /usr/bin(mtime:0x677e5bda→0x6782f054), layer content modified

Damaged image b0c9d60fc5e3fa2319a86ccc1cdf34c94c7e69766e8cebfb4111f7e54f39e8ff:
4 errors occurred:
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /bin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /etc(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /sbin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /usr/bin(mtime:0x677e5bda→0x6782f054), layer content modified

Damaged container 702310755e9b44f34d2bb858ce851c99a83c77a36a0abd81121636b5075e5388:
4 errors occurred:
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /bin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /etc(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /sbin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /usr/bin(mtime:0x677e5bda→0x6782f054), layer content modified

Damaged container cb29835b4d019c8c7fbf8ddbdfe641f4910e44c092078cfe075c72b9eb2b5005:
4 errors occurred:
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /bin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /etc(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /sbin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /usr/bin(mtime:0x677e5bda→0x6782f054), layer content modified

Error: damage detected in local storage

ben@localhost:~$ distrobox ls
ID           | NAME                 | STATUS             | IMAGE                         
702310755e9b | alpine               | Created            | docker.io/library/alpine:latest

Logs for distrobox create -v ... and podman --log-level=debug system check attached.
distrobox-create-verbose.log
distrobox-podman-system-check.log

Expected behavior

  • podman system check does not yield errors after distrobox create.
  • distrobox create and a subsequent distrobox rm does not have side effects (see Additional context, below)

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod?
  • Which version or podman, docker or lilipod?
  • Which version of distrobox?
  • Which host distribution?
  • How did you install distrobox?

podman 5.3.1
distrobox 1.8.0
Fedora 41 Server, installed into VM from ISO. This problem also occurs on Bluefin, which is where I first encountered it.
installed via sudo dnf install -y distrobox

Additional context
This happens with every container image I've tried, for example ghcr.io/ublue-os/fedora-toolbox

Interestingly, removing the distrobox does not correct the issue.

ben@localhost:~$ distrobox rm alpine 
Do you really want to delete containers: alpine? [Y/n]: y
Removing container...
alpine
Removing exported binaries...
ben@localhost:~$ podman system check
Damaged layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba:
4 errors occurred:
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /bin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /etc(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /sbin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /usr/bin(mtime:0x677e5bda→0x6782f054), layer content modified

Damaged image b0c9d60fc5e3fa2319a86ccc1cdf34c94c7e69766e8cebfb4111f7e54f39e8ff:
4 errors occurred:
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /bin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /etc(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /sbin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /usr/bin(mtime:0x677e5bda→0x6782f054), layer content modified

Damaged container cb29835b4d019c8c7fbf8ddbdfe641f4910e44c092078cfe075c72b9eb2b5005:
4 errors occurred:
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /bin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /etc(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /sbin(mtime:0x677e5bda→0x6782f054), layer content modified
	* layer 9ce433abc952cec28bc3e93a9a80efa50bfbef4759ef7b25dcb5ffd29ee46aba: /usr/bin(mtime:0x677e5bda→0x6782f054), layer content modified

Error: damage detected in local storage
@BenSmith BenSmith added the bug Something isn't working label Jan 11, 2025
@89luca89
Copy link
Owner

I am not sure about this, also, you didn't start the container (and the removal of it keeps the error)

During creation distrobox does not touch the image at all, it only performs a podman create command, you can verify using the --dry-run flag:

podman create 
--hostname "framework13"
--name "alpine"
--privileged
--security-opt label=disable
--security-opt apparmor=unconfined
--pids-limit=-1
--user root:root
--ipc host
--network host
--pid host
--label "manager=distrobox"
--label "distrobox.unshare_groups=0"
--env "SHELL=bash"
--env "HOME=/home/luca-linux"
--env "container=podman"
--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"
--env "CONTAINER_ID=alpine"
--volume /tmp:/tmp:rslave
--volume "/home/luca-linux/.local/bin/distrobox-init":/usr/bin/entrypoint:ro
--volume "/home/luca-linux/.local/bin/distrobox-export":/usr/bin/distrobox-export:ro
--volume "/home/luca-linux/.local/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro
--volume "/home/luca-linux":"/home/luca-linux":rslave
--volume /:/run/host/:rslave
--volume /dev:/dev:rslave
--volume /sys:/sys:rslave
--volume /dev/pts
--volume /dev/null:/dev/ptmx
--volume /sys/fs/selinux
--volume /var/log/journal
--volume /run/user/1000:/run/user/1000:rslave
--volume /etc/hosts:/etc/hosts:ro
--volume /etc/resolv.conf:/etc/resolv.conf:ro
--volume /etc/hostname:/etc/hostname:ro
--annotation run.oci.keep_original_groups=1
--ulimit host
--userns keep-id

--entrypoint /usr/bin/entrypoint
docker.io/library/alpine
--verbose
--name "luca-linux"
--user 1000
--group 1000
--home "/home/luca-linux"
--init "0"
--nvidia "0"
--pre-init-hooks ""
--additional-packages ""
-- ''

While starting the container does modify the container itself, not the image layer
So I'm not sure what is happening here

@89luca89 89luca89 added help wanted Extra attention is needed wait-on-user waiting for a reply labels Jan 19, 2025
@BenSmith
Copy link
Author

BenSmith commented Jan 23, 2025

I'm not sure either, are you able to reproduce it? I did a lot of narrowing-down to get a minimal reproduction scenario, and it turned out that starting the container is not necessary to cause this issue.

This might not be a distrobox issue at all, and this podman system check command looks very new.

Adapting the command you pasted for a new fedora 41 server install yields the same results! Interesting.

podman create \
--hostname "framework13" \
--name "alpine" \
--privileged \
--security-opt label=disable \
--security-opt apparmor=unconfined \
--pids-limit=-1 \
--user root:root \
--ipc host \
--network host \
--pid host \
--label "manager=distrobox" \
--label "distrobox.unshare_groups=0" \
--env "SHELL=bash" \
--env "HOME=/home/ben" \
--env "container=podman" \
--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" \
--env "CONTAINER_ID=alpine" \
--volume /tmp:/tmp:rslave \
--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro \
--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro \
--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro \
--volume "/home/ben":"/home/ben":rslave \
--volume /:/run/host/:rslave \
--volume /dev:/dev:rslave \
--volume /sys:/sys:rslave \
--volume /dev/pts \
--volume /dev/null:/dev/ptmx \
--volume /sys/fs/selinux \
--volume /var/log/journal \
--volume /run/user/1000:/run/user/1000:rslave \
--volume /etc/hosts:/etc/hosts:ro \
--volume /etc/resolv.conf:/etc/resolv.conf:ro \
--volume /etc/hostname:/etc/hostname:ro \
--annotation run.oci.keep_original_groups=1 \
--ulimit host \
--userns keep-id \
--entrypoint /usr/bin/entrypoint \
docker.io/library/alpine \
--verbose \
--name "asdf" \
--user 1000 \
--group 1000 \
--home "/home/ben" \
--init "0" \
--nvidia "0" \
--pre-init-hooks "" \
--additional-packages "" \
-- ''
99c354aa90f13217594f60019b8e0118a8d33d5e6ead09240ee8ab24447bc734

ben@localhost:~$ podman ps
CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES

ben@localhost:~$ podman container ls -a
CONTAINER ID  IMAGE                            COMMAND               CREATED         STATUS      PORTS       NAMES
99c354aa90f1  docker.io/library/alpine:latest  --verbose --name ...  12 seconds ago  Created                 alpine

ben@localhost:~$ podman system check
Damaged layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca:
5 errors occurred:
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc/ssl1.1(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /sbin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/bin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/sbin(mtime:0x677e5bda→0x6791b66e), layer content modified

Damaged image b0c9d60fc5e3fa2319a86ccc1cdf34c94c7e69766e8cebfb4111f7e54f39e8ff:
5 errors occurred:
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc/ssl1.1(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /sbin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/bin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/sbin(mtime:0x677e5bda→0x6791b66e), layer content modified

Damaged container 99c354aa90f13217594f60019b8e0118a8d33d5e6ead09240ee8ab24447bc734:
5 errors occurred:
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc/ssl1.1(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /sbin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/bin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/sbin(mtime:0x677e5bda→0x6791b66e), layer content modified

Error: damage detected in local storage
ben@localhost:~$ 


ben@localhost:~$ podman container rm alpine
alpine
ben@localhost:~$ podman system check
Damaged layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca:
5 errors occurred:
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc/ssl1.1(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /sbin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/bin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/sbin(mtime:0x677e5bda→0x6791b66e), layer content modified

Damaged image b0c9d60fc5e3fa2319a86ccc1cdf34c94c7e69766e8cebfb4111f7e54f39e8ff:
5 errors occurred:
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /etc/ssl1.1(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /sbin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/bin(mtime:0x677e5bda→0x6791b66e), layer content modified
	* layer 9d8cddc81685cfe7775c32f07a315e18d015dc7a0475af586954a22a40211aca: /usr/sbin(mtime:0x677e5bda→0x6791b66e), layer content modified

Error: damage detected in local storage
ben@localhost:~$ 


@BenSmith
Copy link
Author

BenSmith commented Jan 23, 2025

Apologies, here is the result with --dry-run

podman create \
--hostname "framework13" \
--name "alpine" \
--privileged \
--security-opt label=disable \
--security-opt apparmor=unconfined \
--pids-limit=-1 \
--user root:root \
--ipc host \
--network host \
--pid host \
--label "manager=distrobox" \
--label "distrobox.unshare_groups=0" \
--env "SHELL=bash" \
--env "HOME=/home/ben" \
--env "container=podman" \
--env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" \
--env "CONTAINER_ID=alpine" \
--volume /tmp:/tmp:rslave \
--volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro \
--volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro \
--volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro \
--volume "/home/ben":"/home/ben":rslave \
--volume /:/run/host/:rslave \
--volume /dev:/dev:rslave \
--volume /sys:/sys:rslave \
--volume /dev/pts \
--volume /dev/null:/dev/ptmx \
--volume /sys/fs/selinux \
--volume /var/log/journal \
--volume /run/user/1000:/run/user/1000:rslave \
--volume /etc/hosts:/etc/hosts:ro \
--volume /etc/resolv.conf:/etc/resolv.conf:ro \
--volume /etc/hostname:/etc/hostname:ro \
--annotation run.oci.keep_original_groups=1 \
--ulimit host \
--userns keep-id \
--entrypoint /usr/bin/entrypoint \
docker.io/library/alpine \
--verbose \
--name "asdf" \
--user 1000 \
--group 1000 \
--home "/home/ben" \
--init "0" \
--nvidia "0" \
--pre-init-hooks "" \
--additional-packages "" \
--dry-run \
-- ''
Trying to pull docker.io/library/alpine:latest...
Getting image source signatures
Copying blob 1f3e46996e29 done   | 
Copying config b0c9d60fc5 done   | 
Writing manifest to image destination
3f96f4dc0fbb76c2237d896f8a6ce79a4ddf3bd51c384639e8592afe52032dfd
ben@localhost:~$ podman system check
Damaged layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d:
3 errors occurred:
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/share/apk/keys/riscv64(mtime:0x677e5bda→0x6791b910), layer content modified

Damaged image b0c9d60fc5e3fa2319a86ccc1cdf34c94c7e69766e8cebfb4111f7e54f39e8ff:
3 errors occurred:
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/share/apk/keys/riscv64(mtime:0x677e5bda→0x6791b910), layer content modified

Damaged container 3f96f4dc0fbb76c2237d896f8a6ce79a4ddf3bd51c384639e8592afe52032dfd:
3 errors occurred:
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/share/apk/keys/riscv64(mtime:0x677e5bda→0x6791b910), layer content modified

Error: damage detected in local storage
ben@localhost:~$ podman container ls -a
CONTAINER ID  IMAGE                            COMMAND               CREATED         STATUS      PORTS       NAMES
3f96f4dc0fbb  docker.io/library/alpine:latest  --verbose --name ...  23 seconds ago  Created                 alpine
ben@localhost:~$ podman container rm alpine 
alpine
ben@localhost:~$ podman system check
Damaged layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d:
3 errors occurred:
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/share/apk/keys/riscv64(mtime:0x677e5bda→0x6791b910), layer content modified

Damaged image b0c9d60fc5e3fa2319a86ccc1cdf34c94c7e69766e8cebfb4111f7e54f39e8ff:
3 errors occurred:
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/bin(mtime:0x677e5bda→0x6791b910), layer content modified
	* layer 4518c4dcac64f72d4de11970c37f5fbf5ffa3bbc012d8578d39a2f60f241cc8d: /usr/share/apk/keys/riscv64(mtime:0x677e5bda→0x6791b910), layer content modified

Error: damage detected in local storage
ben@localhost:~$ 

@BenSmith
Copy link
Author

I opened an issue at the podman project, since the command you shared makes me think it's not distrobox!

containers/podman#25101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed wait-on-user waiting for a reply
Projects
None yet
Development

No branches or pull requests

2 participants