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

refactor: remove sysctl dependency from start command (backport #4068) #4072

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 2, 2024

Overview

This change was prompted by an attempt to run the application in an unprivileged docker container based on a slim image. The absence of the sysctl command causes the application to fail the BBR check, even though that module is loaded and available.

The goals of this PR are:

  • allow the application to run the BBR check in a restricted environment such as a docker container
  • make the application distribution agnostic by removing the systemd dependency
  • remove an instance of process forking with exec

This is an automatic backport of pull request #4068 done by [Mergify](https://mergify.com).

<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->

## Overview

<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
-->
This change was prompted by an attempt to run the application in an
unprivileged docker container based on a slim image. The absence of the
`sysctl` command causes the application to fail the BBR check, even
though that module is loaded and available.

The goals of this PR are:
- allow the application to run the BBR check in a restricted environment
such as a docker container
- make the application distribution agnostic by removing the `systemd`
dependency
- remove an instance of process forking with `exec`

(cherry picked from commit e52234f)
@mergify mergify bot requested a review from a team as a code owner December 2, 2024 18:33
@mergify mergify bot requested review from cmwaters and ninabarbakadze December 2, 2024 18:33
@github-actions github-actions bot added the bot item was created by a bot label Dec 2, 2024
@evan-forbes evan-forbes enabled auto-merge (squash) December 2, 2024 20:55
@evan-forbes evan-forbes merged commit e61f230 into v3.x Dec 2, 2024
29 of 30 checks passed
@evan-forbes evan-forbes deleted the mergify/bp/v3.x/pr-4068 branch December 2, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot item was created by a bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants