Repository navigation
Qualify shipped rootless daemon unit on disposable systemd fixture (OSS-376) - #558
Merged
Merged
Conversation
Boot the exact rendered per-user unit with real dockerd 29.1.3 under a real systemd --user session for a non-root user. Evidence: active/success NRestarts=0, private socket/pidfile/roots, name=rootless + vfs, real container with published port, bridge-side listener and measured client TCP + HTTP 200, memory/pids limits, XDG_RUNTIME_DIR reset survival, Linux fail-closed path refusals. Fixture-only; no live host, gameplay, release or deployment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Closes the remaining rootless qualification gap for OSS-376. No production
code/unit/config change: this adds reproducible fixture tooling and updates the
mode doc + governing knowledge concept with the qualification result.
qualfixtures/rootless/render/main.gorenders the exact shipped rootlessper-user unit and canonical
daemon.jsonfromnative.DaemonSpec.BuildManifest().qualfixtures/rootless/Dockerfile+qualify.shreproduce the disposablefixture: Ubuntu 24.04 / systemd 255 / real dockerd 29.1.3, non-root service
user
ubuntuwith a realsystemd --usersession, real D-Bus, realdockerd-rootless.sh+ rootlesskit, delegated cgroup v2 (private cgroupns)and host network namespace (single-nested userns). No no-op daemon, no
Type=change, no config/unit substitution.docs/plans/host-native-private-daemon.mdandknowledge/architecture/host-native-runtime.mdrecord the result, replacingthe stale "rootless boot blocked by WSL2 nested-userns iptables" status.
Exact head:
5c0a605b95cbc1551676c3d535ceab563558fb06Branch base:
origin/main9e81679b346a3e1acbc50f8283b5b3c365769771.Qualification evidence (disposable fixture only)
Precise network wording: published mapping, bridge-side listener from a
second container, and measured client TCP reachability + HTTP 200 on
127.0.0.1:30555are three distinct observations. Rootless uses the slirp4netnsbuiltin userspace port driver, so no host DNAT rule is expected or claimed here.
Fail-closed: on Linux with pinned Go 1.26.11, symlink escape outside the
owned root, existing socket collision, world-writable parent, host/shared socket
and data roots, shared namespace, unsafe runtime dir, shared default pidfile and
missing/delegated gates were all refused (POSIX-only refusal tests pass on
Linux; they skip on Windows).
Full exact output: external audit file
security-runtime-plans/node-rootless-qualification-20261119.md.Verification at exact head
go build ./...exit 0go vet ./...exit 0go test -count=1 ./...exit 0 (all packages)gofmtclean on the new Go fileknowledge-lint -fixthen re-run:queries 40/40,OK: 76 concept(s), indexes currentNot claimed
No live-host install, real gameplay, VM/LXC boot, release, deployment or
registry write. Fixture containers were removed; no host service, world,
database, global config or credential was changed. Independent review and green
CI are required before any merge; no merge is requested here.