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

NAS-105767 / 12.0 / Fix usages of sysctl module to use subprocess instead #4575

Merged
merged 1 commit into from Apr 16, 2020

Conversation

sonicaj
Copy link
Member

@sonicaj sonicaj commented Apr 16, 2020

We have an issue with the underlying sysctl module not setting the values correctly and resulting in a SIGSEGV, so we instead use subprocess here to set the sysctl values.

@sonicaj sonicaj requested a review from william-gr April 16, 2020 15:39
@sonicaj sonicaj self-assigned this Apr 16, 2020
Copy link
Member

@william-gr william-gr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first one can use sysctl module because its an integer

We have an issue with the underlying sysctl module not setting the values correctly and resulting in a SIGSEGV, so we instead use subprocess here to set the sysctl values.
@bugclerk bugclerk changed the title Fix usages of sysctl module to use subprocess instead NAS-105767 / 12.0 / Fix usages of sysctl module to use subprocess instead Apr 16, 2020
@sonicaj sonicaj merged commit 81ccba2 into master Apr 16, 2020
@sonicaj sonicaj deleted the sysctl-fix branch April 16, 2020 16:30
@sonicaj
Copy link
Member Author

sonicaj commented Apr 17, 2020

backport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants