Codex Fails to Run in WSL Ubuntu After Moving Its Location Due to Missing `/usr/bin/bash`
Open 💬 0 comments Opened Apr 29, 2026 by Mi-gua
What version of the Codex App are you using (From “About Codex” dialog)?
0.126.0
What subscription do you have?
plus
What platform is your computer?
_No response_
What issue are you seeing?
When I have already moved the Ubuntu location in WSL, choosing WSL as the agent’s runtime location on Windows causes Codex to fail to run in Ubuntu because /usr/bin/bash is missing.
What steps can reproduce the bug?
When I have already moved the Ubuntu location in WSL, choosing WSL as the agent’s runtime location on Windows causes Codex to fail to run in Ubuntu because /usr/bin/bash is missing.
What is the expected behavior?
_No response_
Additional information
_No response_