0.9.30 — flip rootless_per_user default to true#188
Merged
Conversation
Last config-only release of the 0.9.x rootless track. The master toggle in daemon/config.h now defaults to true, so new installs (and old installs whose crated.conf doesn't set the field) compose paths, ZFS prefix, network sub-CIDR, and RCTL umbrella from the connecting operator's uid. Sample config rewritten to show the new default; migration doc gained a "Rolling back" section covering the opt-out procedure (rootless_per_user: false + restart + jail recycle). Wire-format unchanged. Suite stays at 1303. Remaining for 1.0.0: setuid bit removed from Makefile install target.
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.
Summary
Crated::Config::rootlessPerUserdefault fromfalsetotrue(indaemon/config.h)daemon/crated.conf.samplerootless block to advertise the new default and document the opt-out pathdocs/rootless-migration.mdup to date: status promoted to "on by default", release-by-release log filled in for 0.9.13–0.9.30, single-tenant migration split into "accept the flip" / "pin to legacy" / "rolling back" subsectionscli/args.cppversion string tocrate 0.9.30Behaviour for upgraders
crated.confstaterootless_per_user: true(explicit)truerootless_per_user: false(explicit)falsetrue(wasfalse)The third row is the breaking case. Operators who don't want the per-user split must add
rootless_per_user: falsebefore restarting crated.Wire compatibility
No wire changes. All 21 privops verbs from 0.9.0–0.9.28 unchanged. Bearer token / JSON / libnv schemas unchanged. The flip is purely a config-default change in the daemon.
Series state
Track complete except for setuid removal:
Makefile installTest plan
crate --versionprintscrate 0.9.30rootless_per_user:in conf → per-user mode activerootless_per_user: false→ legacy single-tenant shape preservedGenerated by Claude Code