fix(packagin/otel-plugin): remove cap_net_bind_service#21198
fix(packagin/otel-plugin): remove cap_net_bind_service#21198ilyam8 merged 3 commits intonetdata:masterfrom
Conversation
There was a problem hiding this comment.
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.
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?