Closed a-cognet closed 11 months ago
@directionless would you have any guidance on how I can get this PR reviewed? I could not find a procedure to follow. Thanks.
This seems reasonable. Though the subject here says "Panic" which I think is less desirable than the error return in the code. Is the PR subject out of date?
I updated the PR title with the intent, instead of stating the issue.
This is a follow up from https://github.com/osquery/osquery-go/pull/117
If the extension stops immediately after it starts, there could be a problem where shutdown happened before start. It's something we've seen in integration tests, but may happen or worsen the case where the extension is stuck in a restart loop with osqueryd.
I changed the Run function because it buried the original error and made the investigation harder.
Here is a stacktrace