Per recent user confusion on a QNAP issue.
Change-Id: Ibda00013df793fb831f4088b40be8a04dfad17c2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/7035/head
Brad Fitzpatrick2 years agocommitted byBrad Fitzpatrick
returnfmt.Errorf("failed to connect to local Tailscale service; is Tailscale running?")
returnfmt.Errorf("failed to connect to local Tailscale service; is Tailscale running?")
case"linux":
case"linux":
returnfmt.Errorf("failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)")
varhintstring
ifisSystemdSystem(){
hint=" (sudo systemctl start tailscaled ?)"
}
returnfmt.Errorf("failed to connect to local tailscaled; it doesn't appear to be running%s",hint)
}
}
returnfmt.Errorf("failed to connect to local tailscaled process; it doesn't appear to be running")
returnfmt.Errorf("failed to connect to local tailscaled process; it doesn't appear to be running")
}
}
returnfmt.Errorf("failed to connect to local tailscaled (which appears to be running as %v, pid %v). Got error: %w",foundProc.Executable(),foundProc.Pid(),origErr)
returnfmt.Errorf("failed to connect to local tailscaled (which appears to be running as %v, pid %v). Got error: %w",foundProc.Executable(),foundProc.Pid(),origErr)
}
}
// isSystemdSystem reports whether the current machine uses systemd
// and in particular whether the systemctl command is available.