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
python_packages errors #8257
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
What operating system and version are you using?
version = 12 (bookworm)
build =
platform = debian
What version of osquery are you using?
version = 5.7.0
What steps did you take to reproduce the issue?
Osquery "python_packages" query execution, is failing with the message "Cannot open file for reading: /usr/[local/]lib/python3{version}/dist-packages/{name}-{version}.dist-info/licenses//METADATA".
I have seen multiple instances of this error
glog_logger.cpp:34] Cannot open file for reading: /usr/lib/python3/dist-packages/opentelemetry_proto-1.16.0.dist-info/licenses//METADATA
These errors occur for packages that follow the python package specification (https://packaging.python.org/en/latest/specifications/recording-installed-packages/) and have the METADATA file in the correct location, in "{name}-{version}.dist-info/METADATA".
To reproduce
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: