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

osqueryd claims shutdown request failed when exiting from SIGINT #65

Open
anshukla opened this issue Jul 29, 2018 · 2 comments
Open

osqueryd claims shutdown request failed when exiting from SIGINT #65

anshukla opened this issue Jul 29, 2018 · 2 comments

Comments

@anshukla
Copy link

anshukla commented Jul 29, 2018

I've written a basic osquery table extension using osquery-go. I confirmed that osquery{d,i} can load the extension and query my table as intended. However, when I try to quit osquery with ctrl+C, I see from osquery:

I0729 08:43:05.621091 134004736 extensions.cpp:220] Extension UUID 7951 shutdown request failed

I run osqueryd with:

sudo ./osqueryd --pidfile=osquery.pid --database_path=osquery.db --verbose=true --config_plugin=filesystem --config_path=osquery_test.conf --logger_plugin=filesystem --allow_unsafe --extensions_autoload=extensions.load

Is this expected with the default behavior of Shutdown()? Should I be implementing this signal handling logic myself? I should clarify that the extension process does quit, but I am wondering if the error is avoidable.

@zwass
Copy link
Member

zwass commented Jul 30, 2018

What version of osquery-go are you using? We made some changes recently that should have fixed this.

@anshukla
Copy link
Author

anshukla commented Jul 31, 2018

I have tip of tree checked into vendor. Perhaps it's related, then, to this test failure? https://circleci.com/gh/kolide/osquery-go/240

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