Skip to content
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

net: don't wait 5 seconds to re-read /etc/resolv.conf #92

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

bradfitz
Copy link
Member

@bradfitz bradfitz commented Aug 7, 2024

If a Go process starts up, finds /etc/resolv.conf empty, then the DHCP
client writes /etc/resolv.conf, the Go program would find itself
broken for up to 5 seconds.

Updates tailscale/corp#22206

@bradfitz bradfitz requested a review from maisem August 7, 2024 23:17
If a Go process starts up, finds /etc/resolv.conf empty, then the DHCP
client writes /etc/resolv.conf, the Go program would find itself
broken for up to 5 seconds.

Updates tailscale/corp#22206

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
@bradfitz bradfitz merged commit 22ef9eb into tailscale.go1.22 Aug 8, 2024
5 checks passed
@bradfitz bradfitz deleted the bradfitz/net5 branch August 8, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants