mirror of https://github.com/tailscale/tailscale/
net/dns: properly detect newer debian resolvconf
Tailscale attempts to determine if resolvconf or openresolv is in use by running `resolvconf --version`, under the assumption this command will error when run with Debian's resolvconf. This assumption is no longer true and leads to the wrong commands being run on newer versions of Debian with resolvconf >= 1.90. We can now check if the returned version string starts with "Debian resolvconf" if the command is successful. Fixes #9218 Signed-off-by: Galen Guyer <galen@galenguyer.com>pull/9745/head
parent
4e083e4548
commit
04a8b8bb8e
Loading…
Reference in New Issue