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

Backport/2.7/55695 #56253

wants to merge 3 commits into
base: stable-2.7


None yet
2 participants
Copy link

commented May 9, 2019


Backport of #55695

  • Bugfix Pull Request


kustodian added some commits Apr 24, 2019

sysctl will now return an error if the value is invalid
sysctl can fail to set a value even if it returns an exit status 0. More
details: Because of
this in case of an invalid value or a read-only file system, sysctl
module would return OK, even though it didn't set anything. To be sure
that sysctl correctly applied the changes we also need to check the
output of stderr.

(cherry picked from commit 0432b7f)
Run sysctl with LANG=C
Because we are parsing sysctl stderr we need to make sure that errors
are persistent across different system language settings.

(cherry picked from commit a16128f)
Add changelog fragment for sysctl
(cherry picked from commit 3ad9d4d)

This comment has been minimized.

Copy link
Contributor Author

commented May 9, 2019

@samdoran here is the sysctl backport for 2.7.


This comment has been minimized.

Copy link

commented May 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.