Open AkechiShiro opened 4 months ago
Only root has access to the path under ~/.local, not sure why :
EDIT : Groups of my user
users docker kvm podman
Running stat on the folder, I think shows why :
File: /home/kenshin/.local/share/containers/storage/overlay/21246c9766d5524c1cf78e884443e7740b3c6a0b1eda1489
972388985f894138
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 259,2 Inode: 89800174 Links: 6
Access: (0700/drwx------) Uid: (100000/ UNKNOWN) Gid: (100000/ UNKNOWN)
Access: 2024-04-09 04:24:02.513187682 +0200
Modify: 2024-04-09 04:24:28.203021797 +0200
Change: 2024-04-09 04:24:28.203021797 +0200
Birth: 2024-04-09 04:24:02.513187682 +0200
Here it is owned by an uid
that is pretty high and not a default user.
Running podman rmi
shows these warnings :
WARN[0000] Found incomplete layer "21246c9766d5524c1cf78e884443e7740b3c6a0b1eda1489972388985f894138", deleting it
WARN[0000] Unexpected error on reading Additional Layer Store pointer open /home/kenshin/.local/share/containers/storage/overlay/21246c9766d5524c1cf78e884443e7740b3c6a0b1eda1489972388985f894138/additionallayer: permission denied
But no deletion was done.
I workaround the issue successfully, but it seems I should describe it in a bit more details, there was another image in docker that was blocking the deletion of the image in the podman side, it seems.
I manually deleted the fedora one, and used docker rm archlinux-toolbox
to remove the arch container and finally deleted the image using podman rmi
The container still does not start...
So I haven't found a way to start the container using toolbox but I ran into this issue : https://github.com/containers/podman/issues/14284 (trying to manually run a shell in the container)
The way to get a shell in the container right now for me, is to disable everything related to Virtualbox and remove my user from the vboxusers
group and use podman run --rm -it archlinux-toolbox
BTW, should toolbox depends on podman? https://archlinux.org/packages/extra-testing/x86_64/toolbox/ archlinux's toolbox depends on podman, however, nixos not https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/virtualization/toolbox/default.nix
Describe the bug
Toolbox tools seems to be broken cannot delete or edit images/containers nor start them, the tool seems to be in an non usable state.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Toolbox shouldn't break
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Debug output :
Maybe a relevant error :
Notify maintainers
@urandom2
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.