launcher
launcher copied to clipboard
Sometimes launcher on Windows cannot find a valid osquery executable
We see logs on osquery extension startup showing:
- no osquery updates found
- the originally installed osquery executable is determined to not be executable:
fullBinaryPath not executable. Returning nil - launcher attempts to start up osquery with an empty string for the osqueryd path, which does not work
The simplest explanation could be that the timeout is just too short on Windows sometimes (maybe/especially when the system is in modern standby?).
To address this issue:
- [x] We should log the
CheckExecutableerror in this case, to diagnose why launcher is having this issue: https://github.com/kolide/launcher/pull/1504 - [ ] Depending on the results, we should address the issue -- maybe adjusting the timeout for the executable check, or adjusting the check in some other way, or adjusting the osquery extension startup behavior to not require the executable check or to fall back to running the originally-installed osquery executable regardless of check status.