Skip to content

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

Merged
bradfitz merged 1 commit into
tailscale.go1.22from
bradfitz/net5
Aug 8, 2024
Merged

net: don't wait 5 seconds to re-read /etc/resolv.conf#92
bradfitz merged 1 commit into
tailscale.go1.22from
bradfitz/net5

Conversation

@bradfitz

@bradfitz bradfitz commented Aug 7, 2024

Copy link
Copy Markdown
Member

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>
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