Skip to content

Qualify rootless runtime before Minecraft bootstrap (OSS-238) - #396

Merged
athNdev merged 2 commits into
mainfrom
oss/238-runtime-matrix
Nov 10, 2026
Merged

athNdev merged 2 commits into
mainfrom
oss/238-runtime-matrix

Conversation

@athNdev

@athNdev athNdev commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Refuse root-then-drop Minecraft bootstrap on rootless daemons when /data is still owned by host uid 0 (rootless_host_root_data), using Engine GET /info during create preflight.
  • Add table-driven resolved-config qualification matrix covering rootless, non-root UID, and existing fatal overrides.
  • Update runtime and container-privileges knowledge for the new rule.

Test plan

  • go test ./internal/docker/... -count=1
  • go vet ./internal/docker/...
  • go run ./cmd/knowledge-lint -root . -fix then lint again

OSS-238 stays In Progress: live daemon matrix (game readiness across profiles) remains for OSS-247 / isolated fixtures.

athNdev and others added 2 commits November 10, 2026 16:09
Preflight refuses root-then-drop when a rootless Engine serves host-root-owned data, adds a resolved-config qualification matrix for UID/rootless cases, and documents the rule in knowledge.

Co-authored-by: Cursor <[email protected]>
Drop duplicate daemon_caps helper; rootless_host_root_data reads spec.Daemon.Rootless from the shared /info qualification path.

Co-authored-by: Cursor <[email protected]>
@athNdev
athNdev merged commit 0e3aade into main Nov 10, 2026
11 checks passed
@athNdev
athNdev deleted the oss/238-runtime-matrix branch November 10, 2026 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant