You are not logged in.
Few years ago I remember that my podman was able to run containers in rootless mode without any problems. Now it runs fine with sudo, but can not start containers with unprivileged user.
$ podman run --rm -it debian:latest /bin/bash
Resolved "debian" as an alias (/etc/containers/registries.conf.d/00-shortnames.conf)
Trying to pull docker.io/library/debian:latest...
Getting image source signatures
Copying blob ca4e5d672725 done |
Copying config 2e5b8d3ef3 done |
Writing manifest to image destination
Error: OCI runtime error: crun: sd-bus call: Process org.freedesktop.systemd1 exited with status 1: Input/output error
with sudo it is ok:
sudo podman run --rm -it debian:latest /bin/bash
Resolved "debian" as an alias (/etc/containers/registries.conf.d/00-shortnames.conf)
Trying to pull docker.io/library/debian:latest...
Getting image source signatures
Copying blob ca4e5d672725 done |
Copying config 2e5b8d3ef3 done |
Writing manifest to image destination
root@e5ba37380861:/#
exit
Can't figure out what causes this. Tried to reinstall podman and all related packages but have no luck with problem.
$ cat /etc/subuid
user:260000:65537
$ cat /etc/subgid
user:260000:65537
$ env |grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-McCMN0UrUN,guid=d5da92c77e5b0474209ee13366b0e305
Last edited by sincomil (2024-08-05 17:04:01)
Offline
Your DBUS_SESSION_BUS_ADDRESS should not be looking like that. How are you logging in and how and which session are you starting? If you start your env with dbus-launch or dbus-run-session you probably don't want to do that.
Last edited by V1del (2024-08-05 16:39:27)
Offline
I'm on Plasma(wayland) session. Running commands in terminal
This solved my problem
export DBUS_SESSION_BUS_ADDRESS=
podman run --rm -it debian:latest /bin/bash
root@2719b7d67551:/#
Last edited by sincomil (2024-08-05 16:59:18)
Offline
You're starting Plasma how? A "normal" and "correct" DBUS_SESSION_BUS_ADDRESS looks like DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus -- were the 1000 depends on your uid
Offline