VS Code version 1.88 can't open devcontainer due to not finding glibc
Type: Bug
Updated to version 1.88 and cannot open a devcontainer due to glibc not being found. Tested on Version 1.85 with a similar configuration is able to open the devcontainer
[12317 ms] Running Dev Containers CLI: read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root
[13457 ms] Start: Run: tar --no-same-owner -x -f -
[13979 ms] Start: Run: /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node /{REDACTED_PATH}/.vscode-remote-containers/dist/dev-containers-cli-0.354.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root
[14176 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[14177 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[14177 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[14178 ms] Exit code 1
[14178 ms] Running Dev Containers CLI: read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --mount-workspace-git-root
[14272 ms] Start: Run: /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node /{REDACTED_PATH}/.vscode-remote-containers/dist/dev-containers-cli-0.354.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --mount-workspace-git-root
[14473 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[14474 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[14474 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[14475 ms] Exit code 1
[67361 ms] Start: Run: docker version --format {{json .}}
[67631 ms] {"Client":{"Platform":{"Name":"Docker Engine - Community"},"Version":"20.10.9","ApiVersion":"1.41","DefaultAPIVersion":"1.41","GitCommit":"c2ea9bc","GoVersion":"go1.16.8","Os":"linux","Arch":"amd64","BuildTime":"Mon Oct 4 16:08:14 2021","Context":"default","Experimental":true},"Server":{"Platform":{"Name":"Docker Engine - Community"},"Components":[{"Name":"Engine","Version":"20.10.9","Details":{"ApiVersion":"1.41","Arch":"amd64","BuildTime":"Mon Oct 4 16:06:37 2021","Experimental":"false","GitCommit":"79ea9d3","GoVersion":"go1.16.8","KernelVersion":"3.10.0-1160.25.1.el7.x86_64","MinAPIVersion":"1.12","Os":"linux"}},{"Name":"containerd","Version":"1.5.11","Details":{"GitCommit":"3df54a852345ae127d1fa3092b95168e4a88e2f8"}},{"Name":"runc","Version":"1.0.3","Details":{"GitCommit":"v1.0.3-0-gf46b6ba"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"20.10.9","ApiVersion":"1.41","MinAPIVersion":"1.12","GitCommit":"79ea9d3","GoVersion":"go1.16.8","Os":"linux","Arch":"amd64","KernelVersion":"3.10.0-1160.25.1.el7.x86_64","BuildTime":"2021-10-04T16:06:37.000000000+00:00"}}
[68447 ms] Running Dev Containers CLI: read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root --terminal-columns 244 --terminal-rows 23
[68556 ms] Start: Run: /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node /{REDACTED_PATH}/.vscode-remote-containers/dist/dev-containers-cli-0.354.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root --terminal-columns 244 --terminal-rows 23
[68759 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[68759 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[68759 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[68760 ms] Exit code 1
[68761 ms] Running Dev Containers CLI: read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --mount-workspace-git-root --terminal-columns 244 --terminal-rows 23
[68854 ms] Start: Run: /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node /{REDACTED_PATH}/.vscode-remote-containers/dist/dev-containers-cli-0.354.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /{REDACTED_PATH}/git/GUD-editor --log-level debug --log-format json --config /{REDACTED_PATH}/git/GUD-editor/.devcontainer/devcontainer.json --mount-workspace-git-root --terminal-columns 244 --terminal-rows 23
[69077 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[69077 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[69078 ms] /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
[69079 ms] Exit code 1
Extension version: 0.25.0 VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z) OS version: Windows_NT x64 10.0.19045 Modes: Remote OS version: Linux x64 3.10.0-1160.25.1.el7.x86_64 Remote OS version: Linux x64 3.10.0-1160.25.1.el7.x86_64
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Xeon(R) W-2223 CPU @ 3.60GHz (8 x 3600) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | undefined |
| Memory (System) | 31.69GB (14.32GB free) |
| Process Argv | --crash-reporter-id bbdff1ac-e264-470e-8147-c17ac8869db0 |
| Screen Reader | no |
| VM | 57% |
| Item | Value |
|---|---|
| Remote | SSH: archer |
| OS | Linux x64 3.10.0-1160.25.1.el7.x86_64 |
| CPUs | AMD EPYC 7452 32-Core Processor (128 x 2350) |
| Memory (System) | 503.64GB (469.10GB free) |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | SSH: archer |
| OS | Linux x64 3.10.0-1160.25.1.el7.x86_64 |
| CPUs | AMD EPYC 7452 32-Core Processor (128 x 2350) |
| Memory (System) | 503.64GB (469.10GB free) |
| VM | 0% |
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyonecf:30548226
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
8082a590:30971561
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
gd77d436:30999572
I backed my VS Code down to 1.87.2 and this exact devcontainer works
Make sure you have one of the latest Dev Containers extension versions 0.354.0 or 0.355.0-pre-release with VS Code 1.88.
If that doesn't work, please share /etc/os-release from the container.
/cc @deepak1556
Just went back to 1.88 and tried both 0.354.0 and 0.355.0 (pre-release) and the same issue with GLIBC. Note this is also using Remote SSH (0.110.1) from Windows to Linux.
The Devcontainer is node:20
root@d4a07afdc876:/workspaces/GUD-editor# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
I am unable to repro the issue with opening node:20 container from windows machine. Can you provide the exact steps and the sample devcontainer configuration file.
@deepak1556 I see now that this is the ssh server that is running a legacy Linux install. Looking into it.
@chadhutchins182 What Linux distro and version is your ssh server?
@chadhutchins182 I assume you can connect to the ssh server using Remote-SSH? Could you try removing the /{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c folder and retry? (This folder is just a fallback location for the node binary, but once it is there it will be preferred, when it is not there the Dev Containers extension first tries to find the Remote-SSH's install.)
I think we are just back to what happened moving to 1.86 in #9467 , before the fix. I experience the same with SSH-Remote-Development connecting to Ubuntu 18.04.5 LTS, just after updating to 1.88 few minutes ago.
@TechNyquist can you provide the version of SSH extension you are seeing the issue with. Do you see the connection issue with the following setting "remote.SSH.useExecServer": false as well ?
Sorry, I was referring to the issue #177963 on "vscode" repo.
But wait, when I closed the remote then appeared an update on SSH remote extension from 0.109 to 0.110.1, so I updated it and now is back to work. Sorry but while seeing the "broken" workspace page that was not notified. It's all back to work now. Thanks.
Thanks, I will close this for now. There is an edge case where the Dev Containers extension falls back to using the default server when Remote-SSH has not installed the legacy server yet. Occurrence of this should be rare, I will watch out for more reports.
@chadhutchins182 I assume you can connect to the ssh server using Remote-SSH? Could you try removing the
/{REDACTED_PATH}/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4cfolder and retry? (This folder is just a fallback location for the node binary, but once it is there it will be preferred, when it is not there the Dev Containers extension first tries to find the Remote-SSH's install.)
Doing this and completely closing out all VS Code windows seemed to fix it for me.
With 1.88, the "GLIBC 2.28 not found" issue comes again when connecting to Ubuntu 18.04 through either WSL or SSH.
Fallback to 1.87.2 the same setup is working well, except for that there is an annoying banner on top warning that the remote OS is not supported.
Error message is like:
Resolver error: Error: The VS Code Server failed to start: /node version `GLIBC_2.28' not found
HI @zeroxia, I got the same problem as you, on a CentOS 7 container within a CentOS 7 remote host. I got the latest VSCode and extensions to connect correctly, but after reverting VSCode and extensions, deleting the .vscode-server folders on the host and in the container, upgrading VSCode and extensions, and reopening the remote and the container "manually" e.g. by NOT using the link from the Recent history. See https://github.com/microsoft/vscode-remote-release/issues/9756