Skip to content

v0.9.3

Choose a tag to compare

@github-actions github-actions released this 07 Sep 17:33
· 1338 commits to main since this release
v0.9.3

kern was saying the wrong thing about its own work

--memory and --pids-limit reported "accepted but NOT enforced here" over a box the kernel was capping exactly as asked. The check was right and was asked in the wrong place: it read /proc/self/cgroup, which on the systemd-scope tier is the supervisor, parked in a sibling leaf of the box. Walking up from there reaches the ancestors and never the box's own leaf.

Reported on WSL2, reproduced on a Raspberry Pi 5 and a Jetson, and confirmed by an external reviewer with the control that mattered: one host, two builds, the verdict flipping on the binary.

Also in this release

  • kern doctor said "ready" on a stock Ubuntu 24.04 where no box can start: its userns probe stopped one syscall before the uid map AppArmor refuses. It now runs the sequence a box runs, and kern doctor --apparmor-profile emits the profile that makes those hosts work without turning the restriction off machine-wide.
  • kern --version answered 0.0.0 for every binary not cut from a tag, so two builds of one tree were indistinguishable. A release still prints the tag; a build from source now prints git describe.
  • a box refused for running out of process slots was told to check user namespaces. EAGAIN on a fork is a process limit, and the hint says so, including that the limit counts tasks rather than processes.
  • the fixes for #6 and #7, corrected on main and not in a release until now.

Full detail in CHANGELOG.md.