-
Notifications
You must be signed in to change notification settings - Fork 6.3k
fix(packagin/otel-plugin): remove cap_net_bind_service #21198
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the cap_net_bind_service capability requirement from the otel-plugin across all packaging and installation mechanisms. The change simplifies the plugin's security model by eliminating the need for special network binding privileges.
Key Changes:
- Removed capability setting and fallback setuid logic from Debian post-installation script
- Removed capability declaration from RPM spec file
- Removed capability setting logic from the main installer script
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packaging/cmake/pkg-files/deb/plugin-otel/postinst | Removed setcap attempt and fallback chmod for cap_net_bind_service |
| netdata.spec.in | Removed %caps directive for cap_net_bind_service from RPM package definition |
| netdata-installer.sh | Removed setcap logic for cap_net_bind_service in installation script |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
(cherry picked from commit b74aa71)
(cherry picked from commit b74aa71)
Summary
Test Plan
Additional Information
For users: How does this change affect me?