[PR #1823] [MERGED] Don't use the custom dialer as non-root #14312

Closed
opened 2026-08-05 02:09:46 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1823
Author: @lixmal
Created: 4/10/2024
Status: Merged
Merged: 4/11/2024
Merged by: @lixmal

Base: mainHead: fix/fwmark-on-local-grpc


📝 Commits (1)

  • d963ae4 Don't use the custom dialer as non-root

📊 Changes

1 file changed (+16 additions, -0 deletions)

View changed files

📝 util/grpc/dialer.go (+16 -0)

📄 Description

Describe your changes

Running netbird login as non-root will fail setting the fwmark, which is not required for this procedure, hence we don't use the custom dialer for it

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/1823 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 4/10/2024 **Status:** ✅ Merged **Merged:** 4/11/2024 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `fix/fwmark-on-local-grpc` --- ### 📝 Commits (1) - [`d963ae4`](https://github.com/netbirdio/netbird/commit/d963ae4e1fbb2b39371999d57e6b7726ab5e8d5b) Don't use the custom dialer as non-root ### 📊 Changes **1 file changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `util/grpc/dialer.go` (+16 -0) </details> ### 📄 Description ## Describe your changes Running `netbird login` as non-root will fail setting the fwmark, which is not required for this procedure, hence we don't use the custom dialer for it ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:09:46 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14312