Skip to content
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

[3006.x] Preserve ownership on log rotation #65290

Merged
merged 13 commits into from
Nov 9, 2023

Conversation

dmurphy18
Copy link
Contributor

What does this PR do?

Does not force new log files on log rotation to have salt:salt ownership but leave the ownership as to what the salt-master is currently configured, that is, salt-master configuration file user: dog, then dog owns the log files after rotation. Changing the ownership of the key log file, halts the salt-master for example.

What issues does this PR fix or reference?

Fixes:#65288

Previous Behavior

Log files were forced to salt user and group ownership after log rotation

New Behavior

Log files were maintained the user and group ownership after log rotation, as found in the salt-master's configuration file

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 added this to the Sulfur v3006.4 milestone Sep 25, 2023
@dmurphy18 dmurphy18 requested a review from a team as a code owner September 25, 2023 19:20
@dmurphy18 dmurphy18 requested review from twangboy and removed request for a team September 25, 2023 19:21
@dmurphy18 dmurphy18 changed the title [3006.x][WIP]Preserve ownership on log rotation [3006.x] [WIP] Preserve ownership on log rotation Sep 25, 2023
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 19:52 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 19:52 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 19:52 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 19:52 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 20:10 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 20:17 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 21:07 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 21:07 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 21:07 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 21:07 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 21:07 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 25, 2023 21:07 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 29, 2023 23:02 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 29, 2023 23:02 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 29, 2023 23:02 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 29, 2023 23:02 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 29, 2023 23:02 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 29, 2023 23:02 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 30, 2023 01:26 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 30, 2023 01:26 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 30, 2023 01:26 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 30, 2023 01:26 — with GitHub Actions Inactive
@dmurphy18 dmurphy18 temporarily deployed to ci September 30, 2023 01:26 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch merged commit 9f8fc27 into saltstack:3006.x Nov 9, 2023
397 checks passed
@dmurphy18 dmurphy18 deleted the fix_65288 branch July 19, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants