Skip to content

[3006.x] Ensure on rpm and deb systems, that user and group for existing Salt, is maintained on upgrade #66218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 70 commits into from
Jul 15, 2024

Conversation

dmurphy18
Copy link
Contributor

@dmurphy18 dmurphy18 commented Mar 12, 2024

What does this PR do?

On upgrading on Redhat and Debian families, ensures that existing permissions (user, group) are preserved.

What issues does this PR fix or reference?

Fixes: #65264

Previous Behavior

Upgrades would force Salt directories etc. permissions user:group to salt:salt

New Behavior

Upgrades of Salt, now note the permissions (user:group) of Salt directories and preserves those permissions.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@dmurphy18 dmurphy18 requested a review from a team as a code owner March 12, 2024 22:28
@dmurphy18 dmurphy18 requested review from dwoz and removed request for a team March 12, 2024 22:28
@dmurphy18 dmurphy18 self-assigned this Mar 12, 2024
@dmurphy18 dmurphy18 changed the title [WIP] [3006.x] Ensure on rpm systems, that user and group for existing Salt, is maintained on upgrade [3006.x] Ensure on rpm systems, that user and group for existing Salt, is maintained on upgrade Mar 13, 2024
@dmurphy18 dmurphy18 changed the title [WIP][3006.x] Ensure on rpm and deb systems, that user and group for existing Salt, is maintained on upgrade [3006.x] Ensure on rpm and deb systems, that user and group for existing Salt, is maintained on upgrade Jul 15, 2024
@dwoz dwoz merged commit 830a69e into saltstack:3006.x Jul 15, 2024
845 checks passed
@dmurphy18 dmurphy18 deleted the fix_65264 branch July 15, 2024 21:28
barneysowood added a commit to barneysowood/salt that referenced this pull request Apr 17, 2025
Enables tests for systemd status (enabled, active etc). These were added
in saltstack#66218 but disabled. We should actually be testing this.
barneysowood added a commit to barneysowood/salt that referenced this pull request May 6, 2025
Enables tests for systemd status (enabled, active etc). These were added
in saltstack#66218 but disabled. We should actually be testing this.
barneysowood added a commit to barneysowood/salt that referenced this pull request May 7, 2025
Enables tests for systemd status (enabled, active etc). These were added
in saltstack#66218 but disabled. We should actually be testing this.
barneysowood added a commit to barneysowood/salt that referenced this pull request May 21, 2025
Enables tests for systemd status (enabled, active etc). These were added
in saltstack#66218 but disabled. We should actually be testing this.
barneysowood added a commit to barneysowood/salt that referenced this pull request May 29, 2025
Enables tests for systemd status (enabled, active etc). These were added
in saltstack#66218 but disabled. We should actually be testing this.
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 test:os:all Run Tests Against ALL OS'es test:pkg Run the package tests test:slow Enable Slow Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants