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

sysctl.persist should check in-memory values event if config is correct #62461

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

asomers
Copy link
Contributor

@asomers asomers commented Aug 11, 2022

On FreeBSD, it ignored the in-memory value if the on-disk value is
correct.

What does this PR do?

Fixes the behavior of FreeBSD's sysctl.persist to fix its documentation and match the Linux behavior.

Previous Behavior

If the value was correct in the config file, it would not be updated in memory.

New Behavior

The value will be updated in-memory regardless of whether it is correct in the config file.

Merge requirements satisfied?

Commits signed with GPG?

Yes

@asomers asomers requested a review from a team as a code owner August 11, 2022 20:26
@asomers asomers requested review from twangboy and removed request for a team August 11, 2022 20:26
On FreeBSD, it ignored the in-memory value if the on-disk value is
correct.
@Ch3LL Ch3LL added the Sulfur v3006.0 release code name and version label Sep 26, 2022
@Ch3LL Ch3LL merged commit 52b9a29 into saltstack:master Sep 27, 2022
@asomers asomers deleted the sysctl.persist.2 branch October 3, 2022 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants