Skip to content

[Bug] opencode not available when using msb #228

Closed

Description

@mmagsa

What happened?

running ./acq run opencode /my/repo/path with backend set to msb (via ./acq backend set msb) results in the sandbox being spun up as expected, but instead of starting opencode I just end up with a root shell in the sandbox.

# whoami
root
# ls -la /home/agent
total 24
drwxr-xr-x 5 agent agent 4096 Jul 24 20:36 .
drwxr-xr-x 1 root  root  4096 Jul 24 20:36 ..
drwxr-xr-x 4 agent agent 4096 Jul 24 20:36 .config
-rwxr-xr-x 1 agent root  4277 Jul 24 20:36 playbook-clone.sh
drwxr-xr-x 2 root  root  4096 Jul 24 20:36 usai-config
drwxr-xr-x 4 agent agent  128 Jul 24 19:37 workspace

opencode does not appear to be installed

# find / -name "opencode*"
/home/agent/.config/opencode
/home/agent/.config/opencode/opencode.jsonc
/home/agent/usai-config/opencode.jsonc
find: '/proc/256/task/256/net': Invalid argument
find: '/proc/256/net': Invalid argument
find: '/proc/313/task/313/net': Invalid argument
find: '/proc/313/net': Invalid argument
find: '/proc/360/task/360/net': Invalid argument
find: '/proc/360/net': Invalid argument

What did you expect?

running ./acq run opencode /my/repo/path starts opencode as the agent user.

Steps to reproduce

./acq backend set msb
./acq run opencode /my/repo/path

Docker version

Docker version 29.6.1, build 8900f1d

Operating System

macOS 26.5.2

SBX method

Not sure

Additional context

$ msb --version                                                                                                                                           [17:11:34]
msb 0.6.6

$ msb images                                                                                                                                              [17:06:33]
REFERENCE                             DIGEST                 SIZE         CREATED
docker.io/library/node:22-bookworm    sha256:63c7334e154f    381.1 MiB    2026-07-21 13:32:59

Activity

  1. mogul commented on Jul 28, 2026

    @mogul
    Contributor

    Should be fixed as of #230 and microsandbox 0.6.7. I haven't tagged releases yet, but it's all in main in this repo and the patterns repo. Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions