Toolbox does not work on F31 workstation

Hi,
When I run toolbox --verbose enter

it outputs:

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 sergio
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: running on a cgroups v2 host
toolbox: current Podman version is 1.6.2
toolbox: migration not needed: Podman version 1.6.2 is unchanged
toolbox: Fedora generational core is f31
toolbox: base image is fedora-toolbox:31
toolbox: container is fedora-toolbox-31
toolbox: checking if container fedora-toolbox-31 exists
toolbox: container fedora-toolbox-31 not found
toolbox: found 0 containers
No toolbox containers found. Create now? [y/N] y
toolbox: Fedora generational core is f31
toolbox: base image is fedora-toolbox:31
toolbox: container is fedora-toolbox-31
toolbox: checking value /run/.heim_org.h5l.kcm-socket (Stream) of property Listen in sssd-kcm.socket
toolbox: parsing value /run/.heim_org.h5l.kcm-socket (Stream) of property Listen in sssd-kcm.socket
toolbox: checking if 'podman create' supports --ulimit host
toolbox: 'podman create' supports --ulimit host
toolbox: looking for image localhost/fedora-toolbox:31
toolbox: looking for image registry.fedoraproject.org/f31/fedora-toolbox:31
Image required to create toolbox container.
Download registry.fedoraproject.org/f31/fedora-toolbox:31 (500MB)? [y/N]: y
toolbox: pulling image registry.fedoraproject.org/f31/fedora-toolbox:31
Trying to pull registry.fedoraproject.org/f31/fedora-toolbox:31...
Getting image source signatures
Copying blob a31161543ddc done
Copying blob 133418e148d9 done
Copying config a198bc8c3c done
Writing manifest to image destination
Storing signatures
toolbox: base image fedora-toolbox:31 resolved to registry.fedoraproject.org/f31/fedora-toolbox:31
toolbox: checking if container fedora-toolbox-31 already exists
toolbox: checking if /usr is mounted read-only or read-write
toolbox: mount-point of /usr is /
toolbox: mount flags of /usr on the host are rw,relatime
toolbox: /home/sergio canonicalized to /home/sergio
toolbox: checking if /home is a symbolic link to /var/home
toolbox: calling org.freedesktop.Flatpak.SessionHelper.RequestSession
toolbox: creating container fedora-toolbox-31
toolbox: calling org.freedesktop.Flatpak.SessionHelper.RequestSession
toolbox: starting container fedora-toolbox-31
toolbox: /etc/profile.d/toolbox.sh already mounted in container fedora-toolbox-31
toolbox: inspecting entry point of container fedora-toolbox-31
toolbox: entry point of container fedora-toolbox-31 is toolbox
toolbox: waiting for container fedora-toolbox-31 to finish initializing
toolbox: invalid entry point PID of container fedora-toolbox-31

My OS is Fedora 31 Workstation, with toolbox-0.0.17-1.fc31.noarch and podman-1.6.2-2.fc31.x86_64

Thanks in advance

Hi @sebelk, welcome to Fedora! Please go through the posts in #start-here if you’ve not had a chance to do so yet.

I tried to reproduce the error, but was not able to. I have the same versions of the tools too:

$ rpm -qa \*toolbox\* \*podman\*
podman-1.6.2-2.fc31.x86_64
podman-manpages-1.6.2-2.fc31.noarch
texlive-etoolbox-svn46602-6.fc31.noarch
toolbox-0.0.17-1.fc31.noarch

Maybe a toolbox reset would be worth a try? man toolbox-reset.

also I can’t reproduce too, enter in toolbox :

let’s try to see your journal if you can find any usesfull:

journalctl -S today | grep 'toolbox\|podman'

Regards.,

I’ve tried that and the error still remains

This is the output of that command:

dic 02 14:56:22 dublin.ireland.home systemd[1734]: Started podman-6472.scope.
dic 02 14:57:39 dublin.ireland.home podman[6472]: 2019-12-02 17:57:39.393401335 +0000 UTC m=+76.548663619 image pull  
dic 02 14:57:39 dublin.ireland.home systemd[1734]: podman-6472.scope: Succeeded.
dic 02 14:57:39 dublin.ireland.home systemd[1734]: podman-6472.scope: Consumed 16.039s CPU time.
dic 02 14:57:39 dublin.ireland.home systemd[1734]: Started podman-6581.scope.
dic 02 14:57:39 dublin.ireland.home systemd[1734]: podman-6581.scope: Succeeded.
dic 02 14:57:39 dublin.ireland.home systemd[1734]: Started podman-6598.scope.
dic 02 14:57:39 dublin.ireland.home systemd[1734]: podman-6598.scope: Succeeded.
dic 02 14:57:39 dublin.ireland.home systemd[1734]: Started podman-6638.scope.
dic 02 14:57:39 dublin.ireland.home podman[6638]: 2019-12-02 17:57:39.881372142 +0000 UTC m=+0.163435861 container create 970ab611bd476f01eac35d62e16d839f747c24e2f2c20ae316b219c538f005a9 (image=registry.fedoraproject.org/f31/fedora-toolbox:31, name=fedora-toolbox-31)
dic 02 14:57:39 dublin.ireland.home systemd[1734]: podman-6638.scope: Succeeded.
dic 02 14:57:39 dublin.ireland.home systemd[1734]: Started podman-6657.scope.
dic 02 14:57:40 dublin.ireland.home systemd[1734]: podman-6657.scope: Succeeded.
dic 02 14:57:40 dublin.ireland.home systemd[1734]: Started podman-6673.scope.
dic 02 14:57:40 dublin.ireland.home podman[6673]: 2019-12-02 17:57:40.222399452 +0000 UTC m=+0.155176087 container init 970ab611bd476f01eac35d62e16d839f747c24e2f2c20ae316b219c538f005a9 (image=registry.fedoraproject.org/f31/fedora-toolbox:31, name=fedora-toolbox-31)
dic 02 14:57:40 dublin.ireland.home podman[6673]: 2019-12-02 17:57:40.237305762 +0000 UTC m=+0.170082394 container start 970ab611bd476f01eac35d62e16d839f747c24e2f2c20ae316b219c538f005a9 (image=registry.fedoraproject.org/f31/fedora-toolbox:31, name=fedora-toolbox-31)
dic 02 14:57:40 dublin.ireland.home systemd[1734]: Started podman-6702.scope.
dic 02 14:57:40 dublin.ireland.home systemd[1734]: podman-6702.scope: Succeeded.
dic 02 14:57:40 dublin.ireland.home systemd[1734]: Started podman-6773.scope.
dic 02 14:57:40 dublin.ireland.home podman[6773]: 2019-12-02 17:57:40.447537157 +0000 UTC m=+0.069890391 container died 970ab611bd476f01eac35d62e16d839f747c24e2f2c20ae316b219c538f005a9 (image=registry.fedoraproject.org/f31/fedora-toolbox:31, name=fedora-toolbox-31)
dic 02 14:57:40 dublin.ireland.home systemd[1734]: podman-6773.scope: Succeeded.
dic 02 14:57:40 dublin.ireland.home podman[6787]: 2019-12-02 14:57:40.5219881 -0300 -03 m=+0.087480202 container cleanup 970ab611bd476f01eac35d62e16d839f747c24e2f2c20ae316b219c538f005a9 (image=registry.fedoraproject.org/f31/fedora-toolbox:31, name=fedora-toolbox-31)
dic 02 14:57:40 dublin.ireland.home systemd[1734]: podman-6673.scope: Succeeded.

any ideas?

maybe your container doesn’t initializing successful:

  1. try to prune or clean all your container.
podman prune -a
  1. check then if exist any images:
podman images
  1. then delete it:
podman rmi -f <IMAGE ID>
  1. re-enter again:
toolbox enter

Regards.,

I did it and No luck same error:

toolbox: invalid entry point PID of container fedora-toolbox-31

:frowning:

maybe a corrupt image, why don’t you rename the container storage folder to other like older.

  1. podman store their data in
podman info | grep VolumePath

for example mine is:

/home/hhlp/.local/share/containers/storage/volumes
  1. rename it
mv /home/$USER/.local/share/containers/ /home/$USER/.local/share/containers-old/
  1. toolbox enter again

NOTE: I’m out off ideas right now if this doesn’t work…

Regards.,

1 Like

I see you filed this. Thanks. Let’s see what the devs say:

For reference, this is what I see:

$ toolbox --verbose enter
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 asinha
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: running on a cgroups v2 host
toolbox: current Podman version is 1.6.2
toolbox: migration not needed: Podman version 1.6.2 is unchanged
toolbox: Fedora generational core is f31
toolbox: base image is fedora-toolbox:31
toolbox: container is fedora-toolbox-31
toolbox: checking if container fedora-toolbox-31 exists
toolbox: calling org.freedesktop.Flatpak.SessionHelper.RequestSession
toolbox: starting container fedora-toolbox-31
toolbox: /etc/profile.d/toolbox.sh already mounted in container fedora-toolbox-31
toolbox: inspecting entry point of container fedora-toolbox-31
toolbox: entry point of container fedora-toolbox-31 is toolbox
toolbox: waiting for container fedora-toolbox-31 to finish initializing
toolbox: creating list of environment variables to forward
...
..

Also on a Fedora 31 workstation.

Thanks, in fact, I’ve tried with toolbox --very-verbose enter --release 32 and toolbox --very-verbose enter --release 30 and the error is the same one…

I’m not surprised. Neither of those options do anything different from the default behaviour.