Closed muhdsalm closed 8 months ago
@giuseppe PTAL
I am not familiar with OpenSuse MicroOS, can it be SELinux? AppArmor?
If the partition was moved from another system, are you sure your UID/GID and the additional IDs allocated to your user map the ones used to create the storage?
2. I'm not really sure.
can you try with a fresh storage? Do you get the same error?
fresh storage?
Do you mean, like, another hard drive? I have a laptop and no that's not possible. Is there a way to make podman just... forget everything about my previous install? Like, hard reset/factory reset/delete all configs of the previous podman? podman system reset
doesn't work.
Also just like to mention here that it works as root: distrobox enter --root
works as expected, which I'm guessing is the equivalent of running podman as root?
Did quite a few things. Ran
sudo chown a+rw .local/share/containers
sudo rm -rf .local/share/containers
sudo rm -rf .config/containers
sudo rm -rf .config/toolbox
Works now.
Issue Description
I'm trying to use distrobox on a fresh OpenSuse MicroOS install (with a reused home partition) and I am trying to run a container. I've seen issues on distrobox which led me to find out that the issue is with podman itself. I've looked at other issues on this repo and from what I've found none of the circumstances are the same as mine (if there are please lead me to it and apologies in advance). I've tried this after running
podman system reset
and the issue remains.Steps to reproduce the issue
Steps to reproduce the issue
distrobox create test -i ubuntu:24.04
distrobox enter -v test
(note distrobox enter --root works)Describe the results you received
It gives this issue without the verbose flag:
Error: unable to start container "c721ae3e952efdfd9ec0af1644631cbf51b3d12c848d5a99d1f930c6d10ba892": crun: make `/home/salman/.local/share/containers/storage/overlay/a44a139e0dd7eac4b89ff1f25981686eac96664123d6759b89cddb8ba8c4c2b5/merged` private: Permission denied: OCI permission denied
And with the verbose flag:
Describe the results you expected
I expected this to go normally through the setup and into the container.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
OpenSuse MicroOS (immutable/atomic distro), using a home partition from Fedora Kinoite.
podman system reset
has been run and did not work.Linux salman 6.6.11-1-default #1 SMP PREEMPT_DYNAMIC Thu Jan 11 08:01:39 UTC 2024 (05ae4ad) x86_64 x86_64 x86_64 GNU/Linux
Additional information
The home partition has been brought imported from Fedora Kinoite. Currently using on OpenSuse MicroOS Aeon.
podman system reset
has been run.