Can't start distrobox/podman containers anymore: Input/Output error
Your system information
- SteamOS version: 3.7.8 (happens on latest Preview and Main as well)
- Opted into SteamOS beta?: No
- Have you checked for updates in Settings > System?: Yes
Please describe your issue in as much detail as possible:
After an OS update I can't enter any distrobox containers. This is what happens:
(deck@satori ~)$ distrobox enter koishi
Error: OCI runtime error: unable to start container "a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901": crun: sd-bus call: Process org.freedesktop.systemd1 exited with status 1: Input/output error
(125)(deck@satori ~)$ podman logs koishi
(deck@satori ~)$
Steps for reproducing this issue:
-
distrobox create -n testbox -
distrobox enter testbox - Be very sad.
seems to work for me following those steps on steamos 3.8
deck@rog-ally-x ~ [1]> distrobox create -n testbox
Image registry.fedoraproject.org/fedora-toolbox:latest not found.
Do you want to pull the image now? [Y/n]: y
Trying to pull registry.fedoraproject.org/fedora-toolbox:latest...
Getting image source signatures
Copying blob 1c8ed68d801d done |
Copying config c2c75170f7 done |
Writing manifest to image destination
c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1
Creating 'testbox' using image registry.fedoraproject.org/fedora-toolbox:latest [ OK ]
Distrobox 'testbox' successfully created.
To enter, run:
distrobox enter testbox
deck@rog-ally-x ~> distrobox enter testbox
Starting container... [ OK ]
Installing basic packages... [ OK ]
Setting up devpts mounts... [ OK ]
Setting up read-only mounts... [ OK ]
Setting up read-write mounts... [ OK ]
Setting up host's sockets integration... [ OK ]
Integrating host's themes, icons, fonts... [ OK ]
Setting up distrobox profile... [ OK ]
Setting up sudo... [ OK ]
Setting up user's group list... [ OK ]
Setting up existing user... [ OK ]
Ensuring user's access... [ OK ]
Container Setup Complete!
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
deck@rog-ally-x ~> cat /etc/os-release
NAME="Fedora Linux"
VERSION="42 (Toolbx Container Image)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=42
VERSION_CODENAME=""
PLATFORM_ID="platform:f42"
PRETTY_NAME="Fedora Linux 42 (Toolbx Container Image)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:42"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f42/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=42
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=42
SUPPORT_END=2026-05-13
VARIANT="Toolbx Container Image"
VARIANT_ID=toolbx
did your containers rely on a bind mount or rootful permissions?
No, and the only non-standard mounts I have are a few fuse-overlayfs mounts inside $HOME. The exact command that succeeds for you fails on my system.
You can try installing it separately from the version provided in SteamOS. They are able to exist in parallel. Follow the guide when you have time and see if you have better luck. https://github.com/89luca89/distrobox/blob/main/docs/compatibility.md#host-distros
Would that still rely on the system's podman? I can't seem to be able to start any plain podman containers either.
No, it would be a separate one. When I tried this with 3.4, I had better luck using lilipod, so use that instead.
2. `distrobox enter testbox`
Are you using podman and distrobox from the system or do you have your own versions?
What happens if you un distrobox enter -v testbox ?
Are you using podman and distrobox from the system or do you have your own versions?
System; I have not installed any custom versions.
(deck@satori Steam)$ distrobox enter -v koishi
+ '[' -z koishi ']'
+ '[' '!' -t 0 ']'
+ '[' '!' -t 1 ']'
+ case "${container_manager}" in
+ command -v podman
+ container_manager=podman
+ command -v podman
+ '[' 1 -ne 0 ']'
+ container_manager='podman --log-level debug'
+ '[' 0 -ne 0 ']'
+ container_home=/home/deck
+ container_path=/run/user/1000/nested_plasma/bin:/home/deck/.local/bin:/home/deck/.nix-profile/bin:/home/deck/.local/share/Steam/ubuntu12_32/steam-runtime/game-bin:/usr/local/bin:/usr/bin
+ unshare_groups=0
+ container_status=unknown
++ podman --log-level debug inspect --type container --format 'container_status={{.State.Status}};
unshare_groups={{ index .Config.Labels "distrobox.unshare_groups" }};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "HOME=")}}container_home={{slice . 5 | printf "%q"}}{{end}}{{end}};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "PATH=")}}container_path={{slice . 5 | printf "%q"}}{{end}}{{end}}' koishi
INFO[0000] podman filtering at log level debug
DEBU[0000] Called inspect.PersistentPreRunE(podman --log-level debug inspect --type container --format container_status={{.State.Status}};
unshare_groups={{ index .Config.Labels "distrobox.unshare_groups" }};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "HOME=")}}container_home={{slice . 5 | printf "%q"}}{{end}}{{end}};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "PATH=")}}container_path={{slice . 5 | printf "%q"}}{{end}}{{end}} koishi)
DEBU[0000] Using conmon: "/usr/bin/conmon"
INFO[0000] Using sqlite as database backend
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /home/deck/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000/containers
DEBU[0000] Using static dir /home/deck/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /home/deck/.local/share/containers/storage/volumes
DEBU[0000] Using transient store: false
DEBU[0000] Not configuring container store
DEBU[0000] Initializing event backend journald
DEBU[0000] Configured OCI runtime crun-vm initialization failed: no valid executable found for OCI runtime crun-vm: invalid argument
DEBU[0000] Configured OCI runtime crun-wasm initialization failed: no valid executable found for OCI runtime crun-wasm: invalid argument
DEBU[0000] Configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument
DEBU[0000] Configured OCI runtime runc initialization failed: no valid executable found for OCI runtime runc: invalid argument
DEBU[0000] Configured OCI runtime runj initialization failed: no valid executable found for OCI runtime runj: invalid argument
DEBU[0000] Configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument
DEBU[0000] Configured OCI runtime youki initialization failed: no valid executable found for OCI runtime youki: invalid argument
DEBU[0000] Configured OCI runtime krun initialization failed: no valid executable found for OCI runtime krun: invalid argument
DEBU[0000] Configured OCI runtime ocijail initialization failed: no valid executable found for OCI runtime ocijail: invalid argument
DEBU[0000] Using OCI runtime "/usr/bin/crun"
INFO[0000] podman filtering at log level debug
DEBU[0000] Called inspect.PersistentPreRunE(podman --log-level debug inspect --type container --format container_status={{.State.Status}};
unshare_groups={{ index .Config.Labels "distrobox.unshare_groups" }};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "HOME=")}}container_home={{slice . 5 | printf "%q"}}{{end}}{{end}};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "PATH=")}}container_path={{slice . 5 | printf "%q"}}{{end}}{{end}} koishi)
DEBU[0000] Using conmon: "/usr/bin/conmon"
INFO[0000] Using sqlite as database backend
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /home/deck/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000/containers
DEBU[0000] Using static dir /home/deck/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /home/deck/.local/share/containers/storage/volumes
DEBU[0000] Using transient store: false
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: storage already configured with a mount-program
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false
DEBU[0000] Initializing event backend journald
DEBU[0000] Configured OCI runtime runc initialization failed: no valid executable found for OCI runtime runc: invalid argument
DEBU[0000] Configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument
DEBU[0000] Configured OCI runtime crun-vm initialization failed: no valid executable found for OCI runtime crun-vm: invalid argument
DEBU[0000] Configured OCI runtime crun-wasm initialization failed: no valid executable found for OCI runtime crun-wasm: invalid argument
DEBU[0000] Configured OCI runtime krun initialization failed: no valid executable found for OCI runtime krun: invalid argument
DEBU[0000] Configured OCI runtime ocijail initialization failed: no valid executable found for OCI runtime ocijail: invalid argument
DEBU[0000] Configured OCI runtime runj initialization failed: no valid executable found for OCI runtime runj: invalid argument
DEBU[0000] Configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument
DEBU[0000] Configured OCI runtime youki initialization failed: no valid executable found for OCI runtime youki: invalid argument
DEBU[0000] Using OCI runtime "/usr/bin/crun"
DEBU[0000] Initialized SHM lock manager at path /libpod_rootless_lock_1000
DEBU[0000] Podman detected system restart - performing state refresh
INFO[0000] Setting parallel job count to 25
DEBU[0000] Looking up image "c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1" in local containers storage
DEBU[0000] Trying "c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1" ...
DEBU[0000] parsed reference into "[overlay@/home/deck/.local/share/containers/storage+/run/user/1000/containers]@c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1"
DEBU[0000] Found image "c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1" as "c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1" in local containers storage
DEBU[0000] Found image "c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1" as "c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1" in local containers storage ([overlay@/home/deck/.local/share/containers/storage+/run/user/1000/containers]@c2c75170f75eb420ad471c935ec7240d7217f08619becbf798a5e686268a71b1)
DEBU[0000] Called inspect.PersistentPostRunE(podman --log-level debug inspect --type container --format container_status={{.State.Status}};
unshare_groups={{ index .Config.Labels "distrobox.unshare_groups" }};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "HOME=")}}container_home={{slice . 5 | printf "%q"}}{{end}}{{end}};
{{range .Config.Env}}{{if and (ge (len .) 5) (eq (slice . 0 5) "PATH=")}}container_path={{slice . 5 | printf "%q"}}{{end}}{{end}} koishi)
DEBU[0000] Shutting down engines
INFO[0000] Received shutdown.Stop(), terminating! PID=12713
WARN[0000] Failed to add pause process to systemd sandbox cgroup: Process org.freedesktop.systemd1 exited with status 1
+ eval 'container_status=created;
unshare_groups=0;
container_home="/home/deck";
container_path="/usr/local/bin:/usr/bin"'
++ container_status=created
++ unshare_groups=0
++ container_home=/home/deck
++ container_path=/usr/local/bin:/usr/bin
+ '[' 0 -ne 0 ']'
+ '[' created = unknown ']'
+ '[' created '!=' running ']'
++ date -u +%FT%T
+ log_timestamp=2025-06-03T16:00:10.000000000+00:00
+ podman --log-level debug start koishi
INFO[0000] podman filtering at log level debug
DEBU[0000] Called start.PersistentPreRunE(podman --log-level debug start koishi)
DEBU[0000] Using conmon: "/usr/bin/conmon"
INFO[0000] Using sqlite as database backend
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /home/deck/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000/containers
DEBU[0000] Using static dir /home/deck/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /home/deck/.local/share/containers/storage/volumes
DEBU[0000] Using transient store: false
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: storage already configured with a mount-program
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false
DEBU[0000] Initializing event backend journald
DEBU[0000] Configured OCI runtime runc initialization failed: no valid executable found for OCI runtime runc: invalid argument
DEBU[0000] Configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument
DEBU[0000] Configured OCI runtime ocijail initialization failed: no valid executable found for OCI runtime ocijail: invalid argument
DEBU[0000] Configured OCI runtime crun-vm initialization failed: no valid executable found for OCI runtime crun-vm: invalid argument
DEBU[0000] Configured OCI runtime crun-wasm initialization failed: no valid executable found for OCI runtime crun-wasm: invalid argument
DEBU[0000] Configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument
DEBU[0000] Configured OCI runtime youki initialization failed: no valid executable found for OCI runtime youki: invalid argument
DEBU[0000] Configured OCI runtime krun initialization failed: no valid executable found for OCI runtime krun: invalid argument
DEBU[0000] Configured OCI runtime runj initialization failed: no valid executable found for OCI runtime runj: invalid argument
DEBU[0000] Using OCI runtime "/usr/bin/crun"
INFO[0000] Setting parallel job count to 25
DEBU[0000] overlay: mount_data=lowerdir=/home/deck/.local/share/containers/storage/overlay/l/Q56OGCD5SZJ7RER67HFAOJVDCO,upperdir=/home/deck/.local/share/containers/storage/overlay/554fbceb84e03f16cb4ebeae975e91d3faff344c531b7ee439f90fc1e0c5b02a/diff,workdir=/home/deck/.local/share/containers/storage/overlay/554fbceb84e03f16cb4ebeae975e91d3faff344c531b7ee439f90fc1e0c5b02a/work
DEBU[0000] Mounted container "a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901" at "/home/deck/.local/share/containers/storage/overlay/554fbceb84e03f16cb4ebeae975e91d3faff344c531b7ee439f90fc1e0c5b02a/merged"
DEBU[0000] Going to mount named volume 807abdbb5b1b1079fba6199d5e94256f1d495297b8bb5f212b18823e3538b829
DEBU[0000] Copying up contents from container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 to volume 807abdbb5b1b1079fba6199d5e94256f1d495297b8bb5f212b18823e3538b829
DEBU[0000] Going to mount named volume 00504d8c402d49aafd503371a2e42973016fd225c6a88bf2d69bdc5b59ab6239
DEBU[0000] Copying up contents from container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 to volume 00504d8c402d49aafd503371a2e42973016fd225c6a88bf2d69bdc5b59ab6239
DEBU[0000] Created root filesystem for container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 at /home/deck/.local/share/containers/storage/overlay/554fbceb84e03f16cb4ebeae975e91d3faff344c531b7ee439f90fc1e0c5b02a/merged
DEBU[0000] Not modifying container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 /etc/passwd
DEBU[0000] Not modifying container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 /etc/group
DEBU[0000] Skipping unrecognized mount in /etc/containers/mounts.conf: "# Configuration file for default mounts in containers (see man 5"
DEBU[0000] Skipping unrecognized mount in /etc/containers/mounts.conf: "# containers-mounts.conf for further information)"
DEBU[0000] Skipping unrecognized mount in /etc/containers/mounts.conf: ""
DEBU[0000] Checking notify "/home/deck/.local/share/containers/storage/overlay-containers/a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901/userdata/notify" dir
DEBU[0000] Add bindmount notify "/home/deck/.local/share/containers/storage/overlay-containers/a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901/userdata/notify" dir
INFO[0000] User mount overriding libpod mount at "/etc/resolv.conf"
INFO[0000] User mount overriding libpod mount at "/etc/hosts"
DEBU[0000] Setting Cgroups for container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 to user.slice:libpod:a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901
DEBU[0000] Set root propagation to "rslave"
DEBU[0000] reading hooks from /usr/share/containers/oci/hooks.d
DEBU[0000] Workdir "/" resolved to host path "/home/deck/.local/share/containers/storage/overlay/554fbceb84e03f16cb4ebeae975e91d3faff344c531b7ee439f90fc1e0c5b02a/merged"
DEBU[0000] Created OCI spec for container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 at /home/deck/.local/share/containers/storage/overlay-containers/a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901/userdata/config.json
DEBU[0000] /usr/bin/conmon messages will be logged to syslog
DEBU[0000] running conmon: /usr/bin/conmon args="[--api-version 1 -c a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 -u a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 -r /usr/bin/crun -b /home/deck/.local/share/containers/storage/overlay-containers/a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901/userdata -p /run/user/1000/containers/overlay-containers/a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901/userdata/pidfile -n koishi --exit-dir /run/user/1000/libpod/tmp/exits --persist-dir /run/user/1000/libpod/tmp/persist/a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901 --full-attach -s -l journald --log-level debug --syslog --sdnotify-socket=/run/user/1000/systemd/notify --conmon-pidfile /run/user/1000/containers/overlay-containers/a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /home/deck/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /run/user/1000/containers --exit-command-arg --log-level --exit-command-arg debug --exit-command-arg --cgroup-manager --exit-command-arg systemd --exit-command-arg --tmpdir --exit-command-arg /run/user/1000/libpod/tmp --exit-command-arg --network-config-dir --exit-command-arg --exit-command-arg --network-backend --exit-command-arg netavark --exit-command-arg --volumepath --exit-command-arg /home/deck/.local/share/containers/storage/volumes --exit-command-arg --db-backend --exit-command-arg sqlite --exit-command-arg --transient-store=false --exit-command-arg --runtime --exit-command-arg crun --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg --events-backend --exit-command-arg journald --exit-command-arg --syslog --exit-command-arg container --exit-command-arg cleanup --exit-command-arg --stopped-only --exit-command-arg a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901]"
[conmon:d]: failed to write to /proc/self/oom_score_adj: Permission denied
[conmon:d]: addr{sun_family=AF_UNIX, sun_path=/proc/self/fd/9/notify/notify.sock}
DEBU[0000] Received: -1
DEBU[0000] Cleaning up container a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901
DEBU[0000] Network is already cleaned up, skipping...
DEBU[0000] Unmounted container "a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901"
Error: OCI runtime error: unable to start container "a453fd81b6715120d54d19032aa03f074c6e2922efb50f6202e85ed9205be901": crun: sd-bus call: Process org.freedesktop.systemd1 exited with status 1: Input/output error
DEBU[0000] Shutting down engines
INFO[0000] Received shutdown.Stop(), terminating! PID=12778
+ cleanup
+ rm -f /home/deck/.cache/distrobox/.koishi.fifo
+ '[' -n '' ']'
+ '[' 1 -eq 1 ']'
+ podman --log-level debug logs koishi
INFO[0000] podman filtering at log level debug
DEBU[0000] Called logs.PersistentPreRunE(podman --log-level debug logs koishi)
DEBU[0000] Using conmon: "/usr/bin/conmon"
INFO[0000] Using sqlite as database backend
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /home/deck/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000/containers
DEBU[0000] Using static dir /home/deck/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /home/deck/.local/share/containers/storage/volumes
DEBU[0000] Using transient store: false
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: storage already configured with a mount-program
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false
DEBU[0000] Initializing event backend journald
DEBU[0000] Configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument
DEBU[0000] Configured OCI runtime krun initialization failed: no valid executable found for OCI runtime krun: invalid argument
DEBU[0000] Configured OCI runtime ocijail initialization failed: no valid executable found for OCI runtime ocijail: invalid argument
DEBU[0000] Configured OCI runtime runc initialization failed: no valid executable found for OCI runtime runc: invalid argument
DEBU[0000] Configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument
DEBU[0000] Configured OCI runtime youki initialization failed: no valid executable found for OCI runtime youki: invalid argument
DEBU[0000] Configured OCI runtime crun-vm initialization failed: no valid executable found for OCI runtime crun-vm: invalid argument
DEBU[0000] Configured OCI runtime crun-wasm initialization failed: no valid executable found for OCI runtime crun-wasm: invalid argument
DEBU[0000] Configured OCI runtime runj initialization failed: no valid executable found for OCI runtime runj: invalid argument
DEBU[0000] Using OCI runtime "/usr/bin/crun"
INFO[0000] Setting parallel job count to 25
DEBU[0000] Called logs.PersistentPostRunE(podman --log-level debug logs koishi)
DEBU[0000] Shutting down engines
INFO[0000] Received shutdown.Stop(), terminating! PID=12820
No, it would be a separate one. When I tried this with 3.4, I had better luck using lilipod, so use that instead.
How did you set that up? I've tried installing distrobox and lilipod into home just now, but it seems to want to use the system podman and I get the same error. I'm not sure how to override it.
For the record, installing a local version of podman (podman-launcher) "fixed" my issue, but I'd still like to get the system distrobox/podman to work.
I'll give it a try. I haven't touched this since 3.4. I'll start with the system one first and as I'm still on 3.6 it will serve as a baseline.
OK, as promised I'm giving it a try on 3.6.24
System versions are:
(deck@steamdeck ~)$ distrobox version
distrobox: 1.6.0.1
(deck@steamdeck ~)$ podman --version
podman version 4.9.3
I know this isn't a conflict with what I played around with before because I didn't use podman after it didn't work back then, so I only have lilipod in that directory.. checking the version of distrobox in that path that hasn't been touched since 2024 it returns:
(126)(deck@steamdeck ~)$ ~/.local/bin/distrobox version
distrobox: 1.7.2.1
So I have established here that I am/will be working with the system version and not the home folder version.
Doing podman search ubuntu (or other distro) returns nothing. Viewing the contents of /etc/containers/registries.conf reveals a file that is fully commented out, so the podman search command has no registry listed to access. Hmm.
podman info confirms this registries: {} it's supposed to list something like docker, fedora, redhat there, etc. Ugh. Assemble-as-you-go sucks.
Guess I will manually specify the registry on the command line as opposed to editing a conf file.. (this is something Valve should fix, registries SHOULD be defined imo).. so looking at https://hub.docker.com/search?image_filter=official%2Cstore%2Copen_source&type=image&badges=official&operating_system=linux&architecture=amd64&categories=Operating+systems gives me a choice of 17 Linux OSes.. ok.
I'll have to manually specify a tag (you can view them by clicking in the link in the registry). I guess I'll go with latest which will give me LTS as opposed to devel or rolling.
(deck@steamdeck ~)$ distrobox create --name ubuntu-box --image docker.io/library/ubuntu:latest
Image docker.io/library/ubuntu:latest not found.
Do you want to pull the image now? [Y/n]:
Trying to pull docker.io/library/ubuntu:latest...
Getting image source signatures
Copying blob d9d352c11bbd done |
Copying config bf16bdcff9 done |
Writing manifest to image destination
bf16bdcff9c96b76a6d417bd8f0a3abe0e55c0ed9bdb3549e906834e2592fd5f
Creating 'ubuntu-box' using image docker.io/library/ubuntu:latest [ OK ]
Distrobox 'ubuntu-box' successfully created.
To enter, run:
distrobox enter ubuntu-box
(deck@steamdeck ~)$
(deck@steamdeck ~)$ distrobox enter ubuntu-box
Starting container... [ OK ]
Installing basic packages... [ OK ]
Setting up devpts mounts... [ OK ]
Setting up read-only mounts... [ OK ]
Setting up read-write mounts... [ OK ]
Setting up host's sockets integration... [ OK ]
Integrating host's themes, icons, fonts... [ OK ]
Setting up package manager exceptions... [ OK ]
Setting up dpkg exceptions... [ OK ]
Setting up apt hooks... [ OK ]
Setting up distrobox profile... [ OK ]
Setting up sudo... [ OK ]
Setting up groups... [ OK ]
Setting up users... [ OK ]
Setting up skel... [ OK ]
Container Setup Complete!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
(deck@ubuntu-box ~)$ uname -a
Linux ubuntu-box.steamdeck 6.5.0-valve23-1-neptune-65-g385b5e207ae2 #1 SMP PREEMPT_DYNAMIC Fri, 13 Dec 2024 00:16:59 +0000 x86_64 x86_64 x86_64 GNU/Linux
(deck@ubuntu-box ~)$
(deck@ubuntu-box ~)$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
(deck@ubuntu-box ~)$
To test.. sudo apt install neofetch
To exit the box, just type exit or use the control sequence.
So we have established that with the exception of the non-configured registry entries hiccup (should be fixed), all the rest of it is working in 3.6.24.
@Akaricchi Does it make a difference if you create a new container the way I did?
PS. The latest version of distrobox is 1.8.1.2 as of January.
1.6.0.1 was 2.5 years ago and there have been a bunch of fixes since then. This is part of why one might want to have a separate copy of distrobox in one's home folder.
https://github.com/89luca89/distrobox/blob/main/docs/posts/steamdeck_guide.md
Guide also mentions overwriting the system version, but I think it's cleaner to have a separate version.
Valve should consider updating the distributed version to current.
I've just discovered that it only fails in the nested desktop session. I can start the container just fine if I ssh into the steam deck. It also starts fine from a terminal launched directly from Steam in "game mode".
It should be noted that I've modified my steamos-nested-desktop script to not set a new XDG_RUNTIME_DIR, because that breaks some integrations (e.g. can't use the decky mixer plugin to adjust volume of stuff running inside the nested desktop session). I'm pretty sure this setup used to work fine, however.