Fixed the CAP_NET_RAW capabilities were not inherited. - #928
Open
MusclePr wants to merge 5 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes capability inheritance for auto-pause monitoring and improves community proxy logging.
Changes:
- Replaces
suwith a capability-aware user launcher. - Improves FIFO cleanup and unbuffered mitmproxy output.
- Updates proxy exclusions and auto-pause example settings.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/helper_functions.sh |
Adds capability-aware process launching. |
scripts/init.sh |
Cleans FIFO and launches server as steam. |
scripts/start.sh |
Uses the shared user launcher. |
scripts/autopause/community/init.sh |
Updates proxy exclusions and buffering. |
examples/autopause/compose.yaml |
Enables auto-pause logging. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
MusclePr
force-pushed
the
911/fix_inherit_caps
branch
from
August 21, 2026 05:06
eab5309 to
c457c83
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Fixed for Auto pause cannot unpause #911
Containers are governed by the host OS's capabilities.
It was necessary to properly specify capabilities when switching from root to a user.
Fixed an issue where the access token was not immediately displayed due to Python log buffering when
COMMUNITY=trueandAUTO_PAUSE_DEBUG=truewere used.Ultimately, this became an alternative implementation for Switched to gosu #908.
Choices
su -c steam <cmd>setpriv --reuid=steam --regid=steam --init-groups --inh-caps="$caps" --ambient-caps="$caps" <cmd>Test instructions
AUTO_PAUSE_DEBUG=trueenv var toexamples/autopause/compose.yaml.docker compose --project-directory examples/autopause upChecklist before requesting a review
AI Usage Disclosure
Please read the AI Usage Guidelines for Contributors before submitting this PR.
If you used an AI tool to assist in writing or refactoring code for this PR, please disclose it below.
I have manually reviewed the generated code and tested the container build locally.