Skip to content

Refresh install/onedir/FAQ/non-root docs (master) - #69539

Merged
dwoz merged 3 commits into
saltstack:masterfrom
dwoz:dwoz/docs/install-onedir-master
Jun 30, 2026
Merged

dwoz merged 3 commits into
saltstack:masterfrom
dwoz:dwoz/docs/install-onedir-master

Conversation

@dwoz

@dwoz dwoz commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Refreshes the install-adjacent docs in saltstack/salt for the onedir
packaging era. Scope is everything that lives in this repo; user-facing
install steps that live in the separate
salt-install-guide
repo are flagged below.

In-repo changes:

Out of scope: salt-install-guide gitlab repo

These touch user-facing install steps that live at
https://gitlab.com/saltstack/open/docs/salt-install-guide and need an MR
there, not here:

Test plan

  • sphinx-build -b html -W --keep-going -j auto doc doc/_build/html -- build succeeded
  • sphinx-build -b man -W --keep-going -j auto doc doc/_build/man -- build succeeded
  • pre-commit run on all touched files -- Passed (Check Changelog Entries, Check Docs, blacken-docs, trailing whitespace, etc.)
  • CI docs workflow green
  • Optional: per-distro container verify of salt-pip install boto3
    against the published 3008 packages

Per-branch plan

The onedir story is stable enough that this master change applies
unchanged to 3008.x and 3007.x. The 3006.x backport drops the Package
Grain section (added in 3007.0) and keeps everything else. Separate PRs
will be opened per branch rather than relying on merge-forward.

@dwoz dwoz added the test:full Run the full test suite label Jun 25, 2026
@dwoz dwoz added this to the Potassium v3009.0 milestone Jun 25, 2026
@dwoz
dwoz marked this pull request as ready for review June 30, 2026 00:51
@dwoz
dwoz requested a review from a team as a code owner June 30, 2026 00:51
@dwoz
dwoz force-pushed the dwoz/docs/install-onedir-master branch from 74d0795 to 45b3838 Compare June 30, 2026 00:52
@dwoz

dwoz commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

Pushed a correction on top: the consolidated non-root guide now leads
with the fact that Salt 3006.0 introduced user: salt as the
default for the salt-master on the Linux rpm/deb packages, and reframes
the "switch to non-root" section as customization rather than enablement.

Ground-truth used:

  • pkg/common/conf/master ships user: salt from v3006.0 onward
    (v3005 shipped #user: root).
  • The 3006.0 release notes section Linux Packaging Salt Master Salt
    User and Group
    : "The linux Salt Master packages will now add a Salt
    user and group by default. The packages will add the user: salt
    config option..." (doc/topics/releases/3006.0.md).
  • The shipped minion config still has #user: root -- minion
    default is unchanged.
  • The shipped salt-master.service / salt-minion.service units
    have no User= directive; the privilege drop happens in-process
    based on the conf user: value.

Same correction propagated to the 3008.x (#69541), 3007.x (#69544),
and 3006.x (#69545) backport PRs.

@dwoz
dwoz merged commit f9f3c9b into saltstack:master Jun 30, 2026
951 of 954 checks passed
@dwoz

dwoz commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Consolidating to oldest applicable branch PR #69545; bulk merge-forward will propagate. Closing this PR.

@dwoz
dwoz deleted the dwoz/docs/install-onedir-master branch November 13, 2026 08:29

This branch was previously deployed

1 inactive deployment
ci — 45b38383 Deployed Jun 30, 2026 by dwoz via Build Onedir Packages / RPM (x86_64) #24880
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

2 participants