Repository navigation
Update default runsc flags configuration - #2361
Benjamin Elder (BenTheElder) merged 1 commit into
Conversation
…20) * substrate: ports through the agent; workers with runsc --allow-suid - An agent guest's ports go through its agent (engine.AgentDialPort), as on Firecracker: any TCP, and "http", the sprite's own HTTP service started on demand, which the Sprites API's URL proxy asks for. Through the router only E2B's agentless guest goes. - The WorkerPool runs home-cloud's ateom-gvisor v0.4.0-hc1, which passes runsc --allow-suid (upstream agent-substrate/substrate#2361), so sudo works in the guests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * k8s: pin this branch's tested sandpitd Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
changes from this PR LGTM, discussing the underlying previous PR though. |
|
Davanum Srinivas (@dims) there's a logical conflict with one of your PRs trying to disable new-privs inside uVM, I think we need to follow up with Greg Castle (@destijl) about that. |
544da0f to
6c29250
Compare
|
Benjamin Elder (@BenTheElder) can you point at the issue? Not sure what I should be looking at. |
|
er, that was #1904 Greg Castle (@destijl) |
|
I synced with dims, we agree just to make the behavior the same, and this direction is agreeable. Happy to merge this when rebased |
76bc6e1 to
ebe993d
Compare
|
Core tag cannot be set unconditionally. I'll send another PR for that. |
|
[did not see this in time after the rebase, will have to try again, we're merging a lot at the moment] |
|
Benjamin Elder (@BenTheElder) I explicitly requested you to review and provide approval for this PR. Thanks a lot! |
Configure additional global flags for runsc sandboxes: - --allow-suid: allow setuid/setgid executables to run properly inside the sandbox (e.g. sudo). This behavior is controlled by the Process.NoNewPrivileges flag. - --host-settings=ignore: avoid redundant host kernel setting checks during startup. *AI disclosure: AI tooling assisted in writing and testing parts of this change.* Fixes agent-substrate#2136 - [x] Tests pass - [x] Appropriate changes to documentation are included in the PR
ebe993d to
354fa7f
Compare
Update default runsc flags configuration
Configure additional global flags for runsc sandboxes:
sandbox (e.g. sudo). This behavior is controlled by the
Process.NoNewPrivileges flag.
startup.
AI disclosure: AI tooling assisted in writing and testing parts of this change.
Updates #2136