You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscaled
Brad Fitzpatrick a28d280b95 cmd/tailscaled: move start-up failure logging to one place
The caller of func run said:

    // No need to log; the func already did

But that wasn't true. Some return paths didn't log.

So instead, return rich errors and have func main do the logging,
so we can't miss anything in the future.

Prior to this, safesocket.Listen for instance was causing tailscaled
to os.Exit(1) on failure without any clue as to why.

Change-Id: I9d71cc4d73d0fed4aa1b1902cae199f584f25793
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
debug.go derp: use new node key type. 3 years ago
depaware.txt ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 3 years ago
install_darwin.go cmd/tailscaled: remove tailscaled binary on uninstall-system-daemon 4 years ago
install_windows.go ipn/ipnlocal: add file sharing to windows shell 3 years ago
proxy.go cmd/tailscaled: add support for running an HTTP proxy 3 years ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 5 years ago
tailscaled.go cmd/tailscaled: move start-up failure logging to one place 3 years ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: set StateDirectoryMode=0700 in tailscaled.service 3 years ago
tailscaled_bird.go wgengine/userspace: add support to automatically enable/disable the tailscale 3 years ago
tailscaled_notwindows.go all: gofmt with Go 1.17 3 years ago
tailscaled_windows.go net/tsdial: give netstack a Dialer, start refactoring name resolution 3 years ago