0

When i call the funciton osquery.NewExtensionManagerServer i get error: Waiting for unix socket to be available /var/osquery/oq.em context deadline exceeded

 

i am on linux RHEL 8.2. Haven't seen on other linux version. What might be the issue. any pointers will help.

I was expecting that the unix socket will be created and getting logger callback

Rob
  • 14,746
  • 28
  • 47
  • 65
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Mar 27 '23 at 18:09
  • How is the extension being started? Is osquery starting it, or are you starting it on your own outside osquery? – seph Mar 30 '23 at 00:40

1 Answers1

0

Given that you are seeing this error on RHEL and not other Linux versions, I am going to guess there is some issue with SELinux permissions.

Does osquery have permissions to open a unix domain socket (check the logs for any errors)?

Does your extension have permissions to open a unix domain socket?

Zach
  • 1,263
  • 11
  • 25