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
Aaron Klotz 44f13d32d7 cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install
I added new functions to winutil to obtain the state of a service and all
its depedencies, serialize them to JSON, and write them to a Logf.

When tstun.New returns a wrapped ERROR_DEVICE_NOT_AVAILABLE, we know that wintun
installation failed. We then log the service graph rooted at "NetSetupSvc".
We are interested in that specific service because network devices will not
install if that service is not running.

Updates https://github.com/tailscale/tailscale/issues/5531

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
childproc cmd/tailscaled/childproc: add be-child registration mechanism 3 years ago
debug.go refactor: move from io/ioutil to io and os packages 2 years ago
depaware.txt cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install 2 years ago
install_darwin.go refactor: move from io/ioutil to io and os packages 2 years ago
install_windows.go all: require Go 1.19 2 years ago
proxy.go all: require Go 1.19 2 years ago
required_version.go all: require Go 1.19 2 years ago
ssh.go all: gofmt all 3 years ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 5 years ago
tailscaled.go cmd/tailscaled: respect $PORT on all platforms, not just Linux 2 years ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: use explicit equal sign in --port=$PORT in tailscaled.service 2 years ago
tailscaled_bird.go all: require Go 1.19 2 years ago
tailscaled_notwindows.go all: require Go 1.19 2 years ago
tailscaled_test.go cmd/tailscaled: add a no-op test for profiling init-time memory allocs 3 years ago
tailscaled_windows.go cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install 2 years ago
with_cli.go cmd/tailscaled: add opt-in support for linking CLI into daemon 2 years ago