-
Notifications
You must be signed in to change notification settings - Fork 250
fix(localdns): wait for resolv.conf update after networkctl reload to prevent race condition #7749
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
Merged
+194
−0
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
84abf87
fix(localdns): wait for resolv.conf update after networkctl reload to…
saewoni 6c4bf72
update the tests
saewoni cc368b3
fix(localdns): change Warning to Error for DNS config timeout messages
saewoni 5367380
changed grep -qw to -qF s.t. IP addresses are matched literally inste…
saewoni 0de2f59
fix: use grep -qwF to avoid partial IP matches and regex issues
saewoni 84634ab
simplify logic + cleanup
saewoni 5b86ad4
add more tests
saewoni cddb423
Update parts/linux/cloud-init/artifacts/localdns.sh
saewoni 9d922f7
github comments
saewoni 2a1df23
revert -> refresh
saewoni e5d4eff
update the explanation why the wait_for_localdns_removed_from_resolv_…
saewoni 57ed26c
reverted -> refreshed
saewoni 91f37b0
fix(localdns): use 250ms polling for faster resolv.conf update detection
saewoni c470140
use here-string instead of echo at line 406
saewoni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.