https://bugzilla.suse.com/show_bug.cgi?id=1231231 Bug ID: 1231231 Summary: Rootless podman inside distrobox not working Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Containers Assignee: containers-bugowner@suse.de Reporter: martin.sirringhaus@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Following the upstream guide on how to use podman inside distrobox (https://distrobox.it/useful_tips/#using-podman-inside-a-distrobox) I can't get rootless podman to work, even though the upstream guide is actually using Tumbleweed. I only seem to be able to get `sudo podman` to work (albeit with a warning): ❯ sudo podman run --rm -ti alpine WARN[0000] Failed to add conmon to cgroupfs sandbox cgroup: creating cgroup path /libpod_parent/conmon: write /sys/fs/cgroup/libpod_parent/cgroup.subtree_control: operation not supported / # Rootless podman however fails: ❯ podman run --rm -ti alpine ERRO[0000] invalid internal status, try resetting the pause process with "podman system migrate": could not find any running process: no such process ❯ And if I try to run `podman system migrate`, podman segfaults: ❯ podman system migrate stopped 8acf10be6dbf4336260113fd2b54b45bcdf803970cd84b21d4933a5b5eccd2ad panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x55e5f4a8f49b] goroutine 1 [running]: github.com/containers/podman/v5/libpod.(*storageService).UnmountContainerImage(0x0, {0xc00054be80?, 0x0?}, 0x0) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/storage.go:235 +0x3b github.com/containers/podman/v5/libpod.(*Container).unmount(0xc000880fa0, 0x80?) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/container_internal.go:2467 +0x3a github.com/containers/podman/v5/libpod.(*Container).cleanupStorage(0xc000880fa0) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/container_internal.go:2007 +0x505 github.com/containers/podman/v5/libpod.(*Container).cleanup(0xc000880fa0, {0x55e5f55fcc50, 0x55e5f6399840}) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/container_internal.go:2097 +0x5bb github.com/containers/podman/v5/libpod.(*Container).waitForConmonToExitAndSave(0xc000880fa0) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/container_internal.go:1512 +0x4c5 github.com/containers/podman/v5/libpod.(*Container).stop(0xc000880fa0, 0xa) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/container_internal.go:1454 +0x5d2 github.com/containers/podman/v5/libpod.(*Container).StopWithTimeout(0xc000880fa0?, 0xa?) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/container_api.go:282 +0xd7 github.com/containers/podman/v5/libpod.(*Container).Stop(...) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/container_api.go:252 github.com/containers/podman/v5/libpod.(*Runtime).Migrate(0xc0005848c0, {0x0, 0x0}) /home/abuild/rpmbuild/BUILD/podman-5.2.3/libpod/runtime_migrate_linux.go:76 +0x2e5 github.com/containers/podman/v5/pkg/domain/infra/abi.(*ContainerEngine).Migrate(0x0?, {0x0?, 0x0?}, {{0x0?, 0x8453589700000000?}}) /home/abuild/rpmbuild/BUILD/podman-5.2.3/pkg/domain/infra/abi/system.go:298 +0x25 github.com/containers/podman/v5/cmd/podman/system.migrate(0x55e5f62a12e0?, {0x55e5f6399840?, 0x0?, 0x0?}) /home/abuild/rpmbuild/BUILD/podman-5.2.3/cmd/podman/system/migrate.go:56 +0x63 github.com/spf13/cobra.(*Command).execute(0x55e5f62a12e0, {0xc000040470, 0x0, 0x0}) /home/abuild/rpmbuild/BUILD/podman-5.2.3/vendor/github.com/spf13/cobra/command.go:989 +0xa91 github.com/spf13/cobra.(*Command).ExecuteC(0x55e5f628b420) /home/abuild/rpmbuild/BUILD/podman-5.2.3/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /home/abuild/rpmbuild/BUILD/podman-5.2.3/vendor/github.com/spf13/cobra/command.go:1041 github.com/spf13/cobra.(*Command).ExecuteContext(...) /home/abuild/rpmbuild/BUILD/podman-5.2.3/vendor/github.com/spf13/cobra/command.go:1034 main.Execute() /home/abuild/rpmbuild/BUILD/podman-5.2.3/cmd/podman/root.go:116 +0xb4 main.main() /home/abuild/rpmbuild/BUILD/podman-5.2.3/cmd/podman/main.go:61 +0x4b2 -- You are receiving this mail because: You are on the CC list for the bug.