F31 Silverblue cannot use any toolbox commands (runtime directory not created)

When trying for example toolbox create, I get this:

toolbox: running as real user ID 1000
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: checking if /etc/subgid and /etc/subuid have entries for user USERNAME
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: running on a cgroups v2 host
toolbox: current Podman version is 1.6.2
mkdir: cannot create directory ‘/toolbox’: Operation not permitted
toolbox: unable to migrate containers: runtime directory not created

As it states above, it can’t create a /toolbox directory, I assume because that volume is immutable. Anyone managed to get this working?

It’s a completely fresh installation of Fedora Silverblue.

1 Like

I hit something like this a while back, but it was because I was running as root. You might try either figure out why $XDG_RUNTIME_DIR is not set for you or try:

$ export XDG_RUNTIME_DIR=/run/user/$(id -u)
$ toolbox create
...
1 Like