Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flare] Collect osquery and launcher coredumps #1860

Open
RebeccaMahany opened this issue Sep 11, 2024 · 1 comment
Open

[Flare] Collect osquery and launcher coredumps #1860

RebeccaMahany opened this issue Sep 11, 2024 · 1 comment

Comments

@RebeccaMahany
Copy link
Contributor

RebeccaMahany commented Sep 11, 2024

Occasionally we see segfaults from osquery (for example, #1773), and these are tough to debug with the information we currently. We have logs from osquery, but we cannot always correlate them with the segfault, and it's a bit tough to sift through with how noisy all the launcher logs are.

What was really helpful with the last segfault issue was collecting coredumps from affected devices. We should start to add these to flares so that we can collect them automatically.

We can use abrt-cli list or coredumpctl list to see if there are any coredump files. We should include in the flare any coredumps that come from Kolide's osquery or launcher installations -- these files may live in /var/spool/abrt (Fedora) or /var/crash (Ubuntu) or other locations depending on Linux distro. We can also collect the outputs of coredumpctl info osqueryd and coredumpctl dump osqueryd.

@directionless
Copy link
Contributor

probably for both launcher and osqueryd

@RebeccaMahany RebeccaMahany changed the title [Flare] Collect osquery coredumps [Flare] Collect osquery and launcher coredumps Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants