Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 925276

Summary: net-vpn/tailscale-1.60.0 - resolv.conf overwritten
Product: Gentoo Linux Reporter: thanosapollo <public>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED INVALID    
Severity: normal CC: chutzpah, jstein, matoro_gentoo, public
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=489826
Whiteboard:
Package list:
Runtime testing required: ---

Description thanosapollo 2024-02-22 17:55:58 UTC
Installed tailscale-1.60.0 on x220 thinkpad, openrc.

`rc-service dhcpcd stop` and starting `tailscaled` manually works fine.

```
# rc-service dhcpcd stop
# rc-service tailscale restart
# tailscale status`
  Health check:
 - Linux DNS config not ideal. /etc/resolv.conf overwritten. See https://tailscale.com/s/dns-fight
```

Not sure if it matters, but I'm also using `iwd`.
Comment 1 matoro archtester 2024-02-29 19:48:59 UTC
Do you have "nohook resolv.conf" in your /etc/dhcpcd.conf?
Comment 2 thanosapollo 2024-02-29 20:51:27 UTC
No, I do not.  I should also add that if I set an exit-node the dns conflict is resolved, the above error mentioned occurs only when no exit-node is specified.
Comment 3 matoro archtester 2024-02-29 20:52:38 UTC
(In reply to thanosapollo from comment #2)
> No, I do not.  I should also add that if I set an exit-node the dns conflict
> is resolved, the above error mentioned occurs only when no exit-node is
> specified.

Try setting that and see if the issue still occurs.
Comment 4 thanosapollo 2024-02-29 22:04:58 UTC
Adding 

/etc/dhcpcd.conf
...
nohook resolv.conf
...

Resolves this issue