Skip to content

Enable user namespace for runner to fix virtiofs EPERM#21

Merged
JAORMX merged 2 commits into
mainfrom
feat/userns-support
Mar 12, 2026
Merged

Enable user namespace for runner to fix virtiofs EPERM#21
JAORMX merged 2 commits into
mainfrom
feat/userns-support

Conversation

@JAORMX
Copy link
Copy Markdown
Contributor

@JAORMX JAORMX commented Mar 12, 2026

Summary

  • Bump propolis to v0.0.18 which adds Linux user namespace support
  • Enable WithUserNamespaceUID(1000, 1000) in buildBackendOpts() so the runner gains CAP_SETGID within its namespace
  • Remove TestBuildBackendOpts which only counted opaque option slice length
  • Fixes virtiofs set_creds() EPERM errors on systems where host GID != guest GID (e.g. openSUSE MicroOS)

Test plan

  • task fmt && task lint — 0 issues
  • task test — all passing
  • Manual test on openSUSE MicroOS (host gid=1001, guest gid=1000) — virtiofs file creation works

🤖 Generated with Claude Code

JAORMX and others added 2 commits March 12, 2026 15:05
Bump propolis to v0.0.18 and enable WithUserNamespaceUID(1000, 1000)
so the runner gains CAP_SETGID within its namespace. This fixes
set_creds() EPERM errors on systems where host GID != guest GID
(e.g. openSUSE MicroOS).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add GOPRIVATE and git URL rewrite with GO_MODULE_TOKEN to lint, test,
build, and release workflows so CI can fetch github.com/stacklok/propolis.
Remove stale sibling checkout from release.yml (no longer needed with
proper module auth). Pass secrets to reusable workflows via secrets: inherit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JAORMX JAORMX merged commit 2242db6 into main Mar 12, 2026
2 of 3 checks passed
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