'Inconsistency detected by ld.so' causes actions-runner to crash
Describe the bug
When running the latest actions-runner image (https://github.com/actions/runner/pkgs/container/actions-runner/223152759?tag=latest), the runner crashes when attempting to load the RSA key parameters during the runner startup process. This seems to be happening even when using the base unmodified image (ghcr.io/actions/actions-runner:latest).
To Reproduce Steps to reproduce the behavior:
- Deploy runners using the gha-runner-scale-set chart, ensure at least 1 runner will start (
minRunners: 1should suffice) - Wait for the runner to be deployed
- Runner will attempt to start and immediately crash with the attached error.
Expected behavior Runner should start normally
Runner Version and Platform
Version of your runner? latest / 2.317.0
OS of the machine running the runner? Linux (Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-92-generic x86_64), hosted on Kubernetes.
What's not working?
Please include error messages and screenshots.
N/A (See below.)
Job Log Output
If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.
[RUNNER 2024-06-17 23:14:42Z INFO MessageListener] Loading Credentials
[RUNNER 2024-06-17 23:14:42Z INFO ConfigurationStore] HasCredentials()
[RUNNER 2024-06-17 23:14:42Z INFO ConfigurationStore] stored True
[RUNNER 2024-06-17 23:14:42Z INFO CredentialManager] GetCredentialProvider
[RUNNER 2024-06-17 23:14:42Z INFO CredentialManager] Creating type OAuth
[RUNNER 2024-06-17 23:14:42Z INFO CredentialManager] Creating credential type: OAuth
[RUNNER 2024-06-17 23:14:42Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[RUNNER 2024-06-17 23:14:42Z INFO HostContext] Well known directory 'Root': '/home/runner'
[RUNNER 2024-06-17 23:14:42Z INFO HostContext] Well known config file 'RSACredentials': '/home/runner/.credentials_rsaparams'
[RUNNER 2024-06-17 23:14:42Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 534: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
Exiting with unknown error code: 127
Exiting runner...
Runner and Worker's Diagnostic Logs
If applicable, add relevant diagnostic log information. Logs are located in the runner's _diag folder. The runner logs are prefixed with Runner_ and the worker logs are prefixed with Worker_. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.
N/A (upon request, as I don't believe this is stored as the worker is ephemeral).