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/util/winutil
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
..
mksyscall.go cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install 2 years ago
svcdiag_windows.go cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install 2 years ago
winutil.go
winutil_notwindows.go
winutil_windows.go util/winutil: consolidate interface specific registry keys 2 years ago
zsyscall_windows.go cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install 2 years ago