[Fix] #85202 [Bug]: Linux headless node exec fails with spawn /bin/sh ENOENT despite connecte#86269
[Fix] #85202 [Bug]: Linux headless node exec fails with spawn /bin/sh ENOENT despite connecte#86269xuwei-xy wants to merge 1 commit into
Conversation
|
Thanks for the contribution. I reviewed the branch, and this PR is not a good landing base for OpenClaw. Close. The branch is unrelated formatting/test churn for the reported Linux node exec failure, and a separate open PR already carries the plausible node-shell fallback fix path. So I’m closing this PR rather than keeping an unmergeable branch open. A new narrow PR that carries only the useful part is welcome. Review detailsBest possible solution: Close this branch and continue review on #85543 while keeping #85202 open until a real node exec fix lands. Do we have a high-confidence way to reproduce the issue? Yes for the underlying bug at source level: current main still builds non-Windows node exec as /bin/sh -lc and the node host spawns argv[0], while the linked issue adds live Linux headless reproduction evidence. This PR itself does not exercise that path. Is this the best way to solve the issue? No. This PR is not a valid solution because it changes unrelated Feishu/macOS tests; the maintainable path is a focused node shell/runtime fix such as the separate open candidate PR. Security review: Security review cleared: The diff only changes test formatting/trailing whitespace and introduces no dependency, workflow, secret, permissions, or runtime security surface. What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 06bf302864b6. |
|
ClawSweeper applied the proposed close for this PR.
|
Fixes #85202
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
exec host=node fails on three connected Linux headless nodes with spawn /bin/sh ENOENT, even though all nodes run OpenClaw 2026.5.20 and /bin/sh exists on each host.
Steps to reproduce
exec host=node node=node-a command="hostname; openclaw --version; uptime -p"
exec host=node node=node-b command="hostname; openclaw --version; uptime -p"
exec host=node node=node-c command="hostname; openclaw --ve
Auto-generated fix for issue #85202.