containers / toolbox

Tool for interactive command line environments on Linux
https://containertoolbx.org/
Apache License 2.0
2.39k stars 208 forks source link

Cannot enter container (glibc issue) #1383

Open PeakKS opened 9 months ago

PeakKS commented 9 months ago

Describe the bug I am attempting to create and enter a container for Valve's steam runtime 'sniper' as described here. The image is created fine, but the first time I attempt to enter it I get the error: Error: failed to initialize container sniper On subsequent attempts to enter it I get the error: Error: invalid entry point PID of container sniper

Judging by journalctl it seems to be an error with the glibc version:

Sep 30 15:43:11 gbox sniper[148294]: toolbox: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by toolbox)
Sep 30 15:43:11 gbox sniper[148294]: toolbox: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by toolbox)

podman start --attach sniper reports the same errors.

toolbox: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by toolbox)
toolbox: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by toolbox)

Entering the image via podman I can see the glibc version in the container is 2.31 while the system I compiled toolbox on is 2.38.

Steps how to reproduce the behaviour Follow Valve's instructions to create and enter the toolbox container here.

Expected behaviour Enter the container successfully

Actual behaviour Fail to enter the container with error: Error: invalid entry point PID of container sniper

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

Output of podman version

Client:       Podman Engine
Version:      4.5.0
API Version:  4.5.0
Go Version:   go1.21.1
Git Commit:   75e3c12579d391b81d871fd1cded6cf0d043550a
Built:        Fri Sep 29 13:42:48 2023
OS/Arch:      linux/amd64

Info about your OS Gentoo Linux