Toolbox to stumble over a conmon.pid lock

ERRO[0000] open /home/peter/.local/share/containers/storage/overlay-containers/2bd…184/userdata/conmon.pid: permission denied

Hi there

I try to use toolbox from a fresh up to date fedora 30 installation.
[1] “toolbox create” did well
[2] “toolbox enter”

[peter@linux ~]$ toolbox -v enter
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: Fedora generational core is f30
toolbox: base image is fedora-toolbox:30
toolbox: customized user-specific image is fedora-toolbox-peter:30
toolbox: container is fedora-toolbox-peter-30
toolbox: checking if container fedora-toolbox-peter-30 exists
toolbox: container fedora-toolbox-peter-30 was created from image localhost/fedora-toolbox-peter:30
toolbox: checking if image localhost/fedora-toolbox-peter:30 has volumes for host bind mounts
toolbox: trying to start container fedora-toolbox-peter-30
toolbox: creating list of environment variables to forward
toolbox: COLORTERM=truecolor
toolbox: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
toolbox: DBUS_SYSTEM_BUS_ADDRESS is unset
toolbox: DESKTOP_SESSION=gnome
toolbox: DISPLAY=:0
toolbox: LANG=en_US.UTF-8
toolbox: SHELL=/bin/bash
toolbox: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
toolbox: TERM=xterm-256color
toolbox: TOOLBOX_PATH is unset
toolbox: VTE_VERSION=5603
toolbox: WAYLAND_DISPLAY=wayland-0
toolbox: XDG_CURRENT_DESKTOP=GNOME
toolbox: XDG_DATA_DIRS=/home/peter/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
toolbox: XDG_MENU_PREFIX=gnome-
toolbox: XDG_RUNTIME_DIR=/run/user/1000
toolbox: XDG_SEAT=seat0
toolbox: XDG_SESSION_DESKTOP=gnome
toolbox: XDG_SESSION_ID=2
toolbox: XDG_SESSION_TYPE=wayland
toolbox: XDG_VTNR=2
toolbox: created options for environment variables to forward
--env=COLORTERM=truecolor --env=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus --env=DESKTOP_SESSION=gnome --env=DISPLAY=:0 --env=LANG=en_US.UTF-8 --env=SHELL=/bin/bash --env=SSH_AUTH_SOCK=/run/user/1000/keyring/ssh --env=TERM=xterm-256color --env=VTE_VERSION=5603 --env=WAYLAND_DISPLAY=wayland-0 --env=XDG_CURRENT_DESKTOP=GNOME --env=XDG_DATA_DIRS=/home/peter/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/ --env=XDG_MENU_PREFIX=gnome- --env=XDG_RUNTIME_DIR=/run/user/1000 --env=XDG_SEAT=seat0 --env=XDG_SESSION_DESKTOP=gnome --env=XDG_SESSION_ID=2 --env=XDG_SESSION_TYPE=wayland --env=XDG_VTNR=2
toolbox: looking for /bin/bash in container fedora-toolbox-peter-30
ERRO[0000] open /home/peter/.local/share/containers/storage/overlay-containers/2bd8c4c8fb67c238a035e4a0d68795b9e94d4f8c9bda17021acd9129d739a184/userdata/conmon.pid: permission denied 
toolbox: /bin/bash not found in fedora-toolbox-peter-30; using /bin/bash instead
toolbox: trying to exec /bin/bash in container fedora-toolbox-peter-30
ERRO[0000] open /home/peter/.local/share/containers/storage/overlay-containers/2bd8c4c8fb67c238a035e4a0d68795b9e94d4f8c9bda17021acd9129d739a184/userdata/conmon.pid: permission denied 
[peter@linux ~]

am I wrong trying to use toolbox at a traditional Fedora, non silverblue installation ?

1 Like

First welcome @drahtende to the community if you do not doing before take a look at start-here category

See if this post help you:

Unable to enter a toolbox due to permissions errors

https://docs.fedoraproject.org/en-US/fedora-silverblue/troubleshooting/

At the end you have some workaround:

Regards.,

Hi hhlp, thanks for your hint
sudo chown -R $USER ~/.local/share/containers/storage/overlay-containers
did the job.
regards

1 Like