Skip to content

v0.5.2

Choose a tag to compare

@0kenx 0kenx released this 19 Nov 12:23
1c84b05

Fixed

  • Rootless gVisor containers start again when NUCLEUS_RUNSC_DEBUG_DIR is
    set. 0.5.0 checked the debug directory's ancestors after entering the
    launch's user namespace, where host-root-owned directories such as /var
    appear unmapped, so every start failed with Untrusted directory "/var" (uid 65534). The directory is now validated under the host credentials
    before the handoff.
  • The Nix flake no longer warns that buildDepsOnly ignores src on every
    evaluation.

Security

  • Trusted-directory and OCI hook owner checks report an owner that is not
    mapped into the current user namespace as such, and reject it. Previously,
    in a namespace without an ID map the caller's own UID was the overflow UID
    too, so every directory appeared caller-owned and passed the check.