Skip to content

Conversation

@ilyam8
Copy link
Member

@ilyam8 ilyam8 commented Oct 23, 2025

Summary
Test Plan
Additional Information
For users: How does this change affect me?

@ilyam8 ilyam8 requested review from a team, Ferroin and vkalintiris as code owners October 23, 2025 16:32
@github-actions github-actions bot added the area/packaging Packaging and operating systems support label Oct 23, 2025
Ferroin
Ferroin previously approved these changes Oct 23, 2025
@ilyam8 ilyam8 requested a review from Copilot October 23, 2025 17:08
Copy link
Contributor

Copilot AI left a 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.

@ilyam8 ilyam8 requested a review from Copilot October 23, 2025 17:12
Copy link
Contributor

Copilot AI left a 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.

@ilyam8 ilyam8 merged commit b74aa71 into netdata:master Oct 23, 2025
113 of 114 checks passed
@ilyam8 ilyam8 deleted the otel-rm-cap-net-bind-service branch October 23, 2025 19:33
ktsaou pushed a commit to ktsaou/netdata that referenced this pull request Oct 24, 2025
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Oct 27, 2025
@stelfrag stelfrag mentioned this pull request Oct 27, 2025
Ferroin pushed a commit that referenced this pull request Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/packaging Packaging and operating systems support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants