[PR #1931] [MERGED] Fix resolv.conf repairer logic #14477

Closed
opened 2026-08-05 03:05:42 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1931
Author: @pappz
Created: 5/6/2024
Status: Merged
Merged: 5/6/2024
Merged by: @pappz

Base: mainHead: fix/resolvconf-auto-restore


📝 Commits (2)

📊 Changes

1 file changed (+10 additions, -9 deletions)

View changed files

📝 client/internal/dns/file_linux.go (+10 -9)

📄 Description

Describe your changes

Stop the file repairer before doing the restore. If it does not do it the file repairer logic automatically overwrites the restored file.

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/1931 **Author:** [@pappz](https://github.com/pappz) **Created:** 5/6/2024 **Status:** ✅ Merged **Merged:** 5/6/2024 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `fix/resolvconf-auto-restore` --- ### 📝 Commits (2) - [`f00dadd`](https://github.com/netbirdio/netbird/commit/f00dadd2cbb9f34354c95ff4ec1a05e9df2f7378) Stop file repairer before do the restore - [`b675ca4`](https://github.com/netbirdio/netbird/commit/b675ca47feff1f841f25d42ea5acfad626223ace) Lint fix ### 📊 Changes **1 file changed** (+10 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/dns/file_linux.go` (+10 -9) </details> ### 📄 Description ## Describe your changes Stop the file repairer before doing the restore. If it does not do it the file repairer logic automatically overwrites the restored file. ## 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 03:05:42 -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#14477