Skip to content

Enable user namespace for runner to fix virtiofs EPERM#36

Merged
JAORMX merged 1 commit intomainfrom
feat/userns-support
Mar 12, 2026
Merged

Enable user namespace for runner to fix virtiofs EPERM#36
JAORMX merged 1 commit intomainfrom
feat/userns-support

Conversation

@JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Mar 12, 2026

Summary

  • Bump propolis to v0.0.18 which adds Linux user namespace support
  • Enable WithUserNamespaceUID(sandboxUID, sandboxGID) so the runner gains CAP_SETGID within its namespace
  • Register preflight.UserNamespaceCheck() to detect when kernel.unprivileged_userns_clone=0
  • 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

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). Also register the userns preflight check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JAORMX JAORMX requested a review from jhrozek March 12, 2026 13:07
@JAORMX JAORMX merged commit 40ab8c7 into main Mar 12, 2026
7 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