Skip to content

Invalid entrypoint on later versions of Toolbox #871

Closed

Description

@TheEvilSkeleton

Describe the bug
A clear and concise description of what the bug is. If possible, re-run the command(s) with --log-level debug and put the output here.

One of my Toolbox containers worked in Fedora 34 Silverblue, but it stopped working in Fedora 35 Silverblue.

Steps how to reproduce the behaviour

  1. run toolbox create --image registry.gitlab.com/theevilskeleton/jekyll-toolbox
  2. Run any command inside the jekyll-toolbox container

Expected behaviour
Commands should run as intended.

Actual behaviour
Gives the following error:

Error: invalid entry point PID of container jekyll-toolbox

Output of toolbox --version (v0.0.90+)
toolbox version 0.0.99.2

Toolbox package info (rpm -q toolbox)
toolbox-0.0.99.2^3.git075b9a8d2779-1.fc35.x86_64

Output of podman version

Version:      3.3.0
API Version:  3.3.0
Go Version:   go1.16.6
Built:        Fri Aug 20 15:35:44 2021
OS/Arch:      linux/amd64

Podman package info (rpm -q podman)
podman-3.3.0-1.fc35.x86_64

Info about your OS
Fedora Silverblue 35

Additional context
As explained before, this issue happened after I upgraded to Fedora Silverblue 35.

If you see an error message saying: Error: invalid entry point PID of container <name-of-container>, add to the ticket output of command podman start --attach <name-of-container>.

❯ podman start --attach jekyll-toolbox 
toolbox: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by toolbox)

Activity

  1. added
    1. Bug
    on Sep 9, 2021
  2. vchernin commented on Sep 9, 2021

    @vchernin

    See #821

  3. olivergs commented on Sep 9, 2021

    @olivergs
    Collaborator

    After some time not being able to update fedora-toolbox images due to a fedora buil infrastructure bug, @debarshiray and @juhp were able to update the images for f35 and f36 (rawhide).

    Please, update the images as the glibc versions should match now.

  4. nanonyme commented on Sep 9, 2021

    @nanonyme
    Contributor

    Well, this still affects any non-Fedora toolbox using older glibc

  5. TheEvilSkeleton commented on Sep 9, 2021

    @TheEvilSkeleton
    Author

    Yup, some containers stopped working for me for that reason. I don't want to install GLIBC_2.34 on every container, especially on those that don't have a package manager like the container I use to be honest.

  6. juhp commented on Sep 10, 2021

    @juhp
    Contributor

    I have been seeing this for quite a while too.

    Can we add toolbox to fedora-toolbox??

  7. juhp commented on Sep 11, 2021

    @juhp
    Contributor

    Can we add toolbox to fedora-toolbox??

    So I tried this for fun actually: patched toolbox to not mount /usr/bin/toolbox into the toolbox container
    and created a localhost/fedora-toolbox:34 with toolbox preinstalled and it starts fine on F35!

    A gentle approach would be to not bind mount the host toolbox binary into the container if the file already exists.

  8. matthiasclasen commented on Sep 11, 2021

    @matthiasclasen
    Collaborator

    This is unfortunate, and will keep me away from f35.

  9. debarshiray commented on Sep 17, 2021

    @debarshiray
    Member

    Duplicate of #821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions