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
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
..
cibuild all: use cibuild.On 3 years ago
clientmetric all: gofmt for Go 1.19 2 years ago
cloudenv all: use syncs.AtomicValue 2 years ago
cmpver util/cmpver: move into OSS from corp repo. 4 years ago
codegen all: convert more code to use net/netip directly 2 years ago
cstruct util/cstruct: add package for decoding padded C structures (#5429) 2 years ago
deephash util/deephash: add AppendSum method (#5768) 2 years ago
dnsname all: use Go 1.18's strings.Cut 3 years ago
endian all: gofmt with Go 1.17 3 years ago
goroutines ipn/ipnlocal: add c2n /debug/{goroutines,prefs,metrics} 2 years ago
groupmember util/groupmember: remove redundant code (#4298) 3 years ago
hashx util/hashx: move from sha256x (#5388) 2 years ago
jsonutil all: use any instead of interface{} 3 years ago
lineread util/lineread: add docs to Reader 4 years ago
mak util/mak: deprecate NonNil, add type-safe NonNilSliceForJSON, NonNilMapForJSON 2 years ago
multierr all: gofmt for Go 1.19 2 years ago
must util/must: rename Do->Get, add Do 2 years ago
osshare all: gofmt with Go 1.17 3 years ago
pidowner all: gofmt with Go 1.17 3 years ago
precompress cmd/tsconnect,util/precompress: move precompression to its own package 2 years ago
racebuild all: gofmt with Go 1.17 3 years ago
singleflight all: gofmt for Go 1.19 2 years ago
strs util/strs: add new package for string utility funcs 2 years ago
systemd all: gofmt for Go 1.19 2 years ago
uniq util/uniq: add ModifySliceFunc (#5504) 2 years ago
winutil cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install 2 years ago