Skip to content

docs(zrepl): document non-root runtime and ZFS delegation - #47

Merged
Skaronator merged 1 commit into
mainfrom
docs/zrepl-non-root-user
Nov 1, 2026
Merged

Skaronator merged 1 commit into
mainfrom
docs/zrepl-non-root-user

Conversation

@Skaronator

Copy link
Copy Markdown
Contributor

Summary

Companion to tuxcrate/zrepl#18. Keep this documentation PR in draft until server testing is successful and the non-root image is published. Existing production images still default to root.

  • Replace privileged-container examples with explicit /dev/zfs access, capability dropping and no-new-privileges.
  • Explain UID/GID 1000:1000, configuration/credential access, device groups, UID mappings, dataset delegation and how to undo the example grants.
  • Flag receive/mount limitations, the host ZFS security fix, and unverified rootless-engine support.
  • Retain an explicit root-user override as a migration option.
  • Update template regression coverage for the new setup.

Validation

  • 57 Python tests passed (local Python 3.15.2).
  • 3 JavaScript tests passed.
  • Ruff passed using the pinned dependencies and CI flags: --select ALL --ignore D203,D213,COM812,CPY001.
  • Clean strict offline website build passed.
  • Diff whitespace check passed.
  • Live build and real ZFS operations were not run locally; server validation is pending.

Template note

The maintainer guide mentions optional details and tags blocks, but the current template on main only renders prerequisites. All new notes use that existing block; shared template policy was not changed.

@Skaronator
Skaronator marked this pull request as ready for review November 1, 2026 20:02
@Skaronator
Skaronator merged commit 1ad5779 into main Nov 1, 2026
3 checks passed
@Skaronator
Skaronator deleted the docs/zrepl-non-root-user branch November 1, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant