oliver-zehentleitner / maity

runner: starting agents on a non-direct target with busybox userland fails (realpath --)

Sign in to report

tsk-3kzcxy6j37xw Open

Found by q445 while checking review A1151 on #1933; older than #1933, so not in that PR.

On a target that is not direct (the agents' user via sudo, or an ssh host) the runner calls realpath -- <paths>. busybox realpath does not accept -- and fails, so the start is refused (fail closed). A host with busybox userland, for example Alpine, therefore cannot start agents that need the Antigravity or Codex sandbox. Availability only; nothing becomes less safe.

Scope:

  • call realpath without options; make a path that starts with - absolute first, or prefix it with ./;
  • a test with a realpath shim that refuses --;
  • a line in docs/runners.md on which userland a target needs.

Size: small, CLI only.

Boundary: cli/src/maity/runner and docs/runners.md; no hub or web change.