Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

clarify: ch-run: error: can't execve(2): ... Exec format error #1898

Open
reidpr opened this issue Apr 24, 2024 · 0 comments
Open

clarify: ch-run: error: can't execve(2): ... Exec format error #1898

reidpr opened this issue Apr 24, 2024 · 0 comments

Comments

@reidpr
Copy link
Collaborator

reidpr commented Apr 24, 2024

Running a container on the wrong architecture yields an error something like:

ch-run[121666]: error: can't execve(2): /sbin/ldconfig: Exec format error (ch_core.c:549 8)

This error is clear if you have the right obscure nerd knowledge, but most people don’t, and we get questions periodically about it. This issue is to clarify the error. Options include:

  1. FAQ entry and/or hint (could trigger hint on errno == ENOEXEC).
  2. Check the target executable somehow.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant