Closed ankon closed 3 months ago
Forgot the version:
$ rpm -q launcher-kolide-k2
launcher-kolide-k2-1.4.2-1.x86_64
If you're running launcher, could you please run sudo /usr/local/kolide-k2/bin/launcher flare
and send us the output? It will create a debugging tarball and upload it to our cloud, and print out the remote file name
{"caller":"main.go:36","msg":"Launcher starting up","revision":"db7106fe13683c7b1c656de23672cbe5f50e7b59","severity":"info","ts":"2024-07-10T09:41:57.520941275Z","version":"1.4.2"}
{"caller":"library_lookup.go:195","component":"tuf_library_lookup","msg":"found executable matching current release","path":"/var/kolide-k2/k2device.kolide.com/updates/launcher/1.8.1/launcher","severity":"info","ts":"2024-07-10T09:41:57.541273749Z","version":"1.8.1"}
{"caller":"main.go:242","msg":"got new version of launcher to run","new_binary_path":"/var/kolide-k2/k2device.kolide.com/updates/launcher/1.8.1/launcher","new_binary_version":"1.8.1","old_version":"1.4.2","severity":"info","ts":"2024-07-10T09:41:57.541327692Z"}
{"caller":"main.go:219","msg":"preparing to exec new binary","new_binary":"/var/kolide-k2/k2device.kolide.com/updates/launcher/1.8.1/launcher","old_version":"1.4.2","severity":"info","ts":"2024-07-10T09:41:57.541343773Z"}
{"time":"2024-07-10T09:41:57.551326109Z","level":"INFO","msg":"launcher starting up","launcher_run_id":"01J2E0AS5FWV2W2NB5DPJD0T8V","version":"1.8.1","revision":"22bf14babfa22ff5ddf7e744f42a825dd638ff7c"}
{"time":"2024-07-10T09:41:57.560509096Z","level":"INFO","msg":"found executable matching current release or pinned version","launcher_run_id":"01J2E0AS5FWV2W2NB5DPJD0T8V","component":"tuf_library_lookup","binary":"launcher","update_channel":"stable","pinned_version":"","executable_path":"/var/kolide-k2/k2device.kolide.com/updates/launcher/1.8.1/launcher","executable_version":"1.8.1","span_id":"0000000000000000","trace_id":"00000000000000000000000000000000","trace_sampled":false}
{"time":"2024-07-10T09:41:57.560528272Z","level":"INFO","msg":"nothing newer","launcher_run_id":"01J2E0AS5FWV2W2NB5DPJD0T8V"}
{"time":"2024-07-10T09:42:01.077718273Z","level":"INFO","msg":"flare creation complete","launcher_run_id":"01J2E0AS5FWV2W2NB5DPJD0T8V","status":"flare uploaded successfully","file":"2024/07/10/01J2E0ASGYW4G7M8Q3Z5AHW6T8.zip"}
time=2024-07-10T09:42:01.077Z level=INFO source=/home/runner/work/launcher/launcher/cmd/launcher/flare.go:103 msg="flare creation complete" launcher_run_id=01J2E0AS5FWV2W2NB5DPJD0T8V status="flare uploaded successfully" file=2024/07/10/01J2E0ASGYW4G7M8Q3Z5AHW6T8.zip
Thank you so much for sending that in. We'll dig in
(Our internal discussion https://kolide.slack.com/archives/CGFJY1SP2/p1720636331882499 and some cores in https://kolide.slack.com/archives/CGFJY1SP2/p1720711299172329)
Also followed up in osquery slack: https://osquery.slack.com/archives/C08V7KTJB/p1720792822595459
As far as I can see I cannot access these, so: Let me know if I can be of any help.
Current rough counters:
$ sudo dmesg -T | grep osqueryd | sed -re 's, , ,' | cut -f 1,2,3 -d ' ' | sort | uniq -c
27 [Fri Jul 12
17 [Sat Jul 13
29 [Thu Jul 11
17 [Tue Jul 9
28 [Wed Jul 10
Sorry, closed by accident
An issue was opened in osquery here: https://github.com/osquery/osquery/issues/8384
I see things moving in the right direction, but I am having a bit of trouble understanding how many steps are there between "osquery has a (resolved/fixed) issue" and "osquery getting updated for kolide".
Is there a way for me to do the update manually, for instance?
@ankon It looks like that fix has not made it into an osquery release yet -- I don't see it in 5.13.0, anyway -- so I don't think there's anything you can do manually at the moment. Will tag in @directionless for a better explanation of the osquery release process than I can give. 🙂
In general, Kolide uses the official osquery releases. This means our process is something like:
In this case, I know that osquery is talking about cutting a 5.13.2 release with this fix. Though I'm delaying that slightly, because there is another linux crash. I would estimate to see an osquery release deployed out in the next 2 weeks.
@ankon -- we just released osquery 5.13.1 to stable for Kolide. You should hopefully see this autoupdate about an hour, and it should resolve the segfault issue. Let us know how it works for you!
I can confirm that indeed no more segfaults in my dmesg. Thanks a lot!
From dmesg:
launcher system journal:
System is up-to-date, restarting did not fix these.
I don't see any symbols in osqueryd, so unfortunately don't see a quick way of pointing anywhere closer.