Repository navigation
Refresh install/onedir/FAQ/non-root docs (master) - #69539
Merged
Merged
Conversation
This was referenced Jun 25, 2026
dwoz
marked this pull request as ready for review
June 30, 2026 00:51
dwoz
force-pushed
the
dwoz/docs/install-onedir-master
branch
from
June 30, 2026 00:52
74d0795 to
45b3838
Compare
Contributor
Author
|
Pushed a correction on top: the consolidated non-root guide now leads Ground-truth used:
Same correction propagated to the 3008.x (#69541), 3007.x (#69544), |
twangboy
approved these changes
Jun 30, 2026
Contributor
Author
|
Consolidating to oldest applicable branch PR #69545; bulk merge-forward will propagate. Closing this PR. |
This branch was previously deployed
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
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:
doc/faq.rst: rewrote the restart the minion after upgrade FAQ. Theshipped
salt-minion.serviceunit setsKillMode=process, so thein-flight state run is no longer killed by
systemctl try-restartandthe old
policy-rc.d+prereqworkaround (which now triggers aloader error -- see [DOCS] solution in FAQ on restarting minion after upgrade no longer works #61078) is removed. New entry covers
service.restartwithbg: True, master-sidecmd.run_bg, theWindows case, and a note on non-systemd Debian-derived systems.
Fixes [DOCS] solution in FAQ on restarting minion after upgrade no longer works #61078.
doc/topics/packaging/index.rst: documentssalt-pipfor installingoptional Python dependencies into a onedir ([DOCS] Document how to install optional dependencies for Salt #64291, Update docs for 3005 (i.e. phosphorus) and after to mention modules to install in onedir environment #64160), the
extras-3.Nlayout,SALT_EXTRAS_DIRrelocation, non-root behavior.Adds a Salt Extensions install section pointing at
saltext.<name>([DOCS] Custom Salt Extension Installation #66524). Renames
tools.txt/changelog.txtreferences totools.lock/changelog.lockto match current layout.doc/topics/packaging/testing.rst: expanded for [DOCS] Testing Packages needs further elaboration #65253 withsingle-test invocations, env vars the session honors, a common-failure
list, and CI parity using
salt-ci-containers/packagingimages.doc/ref/configuration/nonroot.rst: rewrote and consolidated thenon-root / unprivileged-user guide for the onedir layout. Documents
/etc/default/salt-setup(deb) and/etc/sysconfig/salt-minion-setup(rpm), the
SALT_USER/SALT_GROUP/SALT_HOME/SALT_SHELL/SALT_EXTRAS_DIRknobs, the chown-and-restart path for an existinginstall,
root_dirrelocation, per-key overrides, and the systemddrop-in pattern. Fixes [DOCS] can not run salt-minion as unprivileged #59955, [DOCS] Need to update docs for running as unprivileged user since migration to OneDir #65243, [DOCS] Outdated information on page on running as non-root user #66353, Unable to run rootless with custom directories #55971.
doc/topics/development/salt_extensions.rst: linked to the newsalt-pip-onedirinstall instructions, fixed Markdown-style headingsthat rendered as literal
##, fixed missing colon on a.. code-block:directive. Fixes [DOCS] Custom Salt Extension Installation #66524.doc/spelling_wordlist.txt: added inlining, scriptlet, scriptlets,traceback, tracebacks, vendored.
changelog/*.fixed.mdfragments for each issue above.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:
packages" section in
packaging/index.rstis developer/CI-side andis separately updated)
Test plan
sphinx-build -b html -W --keep-going -j auto doc doc/_build/html-- build succeededsphinx-build -b man -W --keep-going -j auto doc doc/_build/man-- build succeededpre-commit runon all touched files -- Passed (Check Changelog Entries, Check Docs, blacken-docs, trailing whitespace, etc.)docsworkflow greensalt-pip install boto3against 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.