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

PATCH: fix missing DSO tags for libdriver-event-schema.so #1201

Closed
dkogan opened this issue Jul 15, 2023 · 7 comments · Fixed by #1217
Closed

PATCH: fix missing DSO tags for libdriver-event-schema.so #1201

dkogan opened this issue Jul 15, 2023 · 7 comments · Fixed by #1217
Labels
kind/bug Something isn't working

Comments

@dkogan
Copy link
Contributor

dkogan commented Jul 15, 2023

Hello. There's a bug in the build system: DSO tags for libscap-event-schema.so are set twice, but never for libdriver-event-schema.so. There should be one for each. I'm the Debian maintainer, and I just fixed this for the distro:

https://salsa.debian.org/debian/falcosecurity-libs/-/blob/master/debian/patches/properties-for-driver-event-schema.patch

I think you should take the patch.

Thanks

@dkogan dkogan added the kind/bug Something isn't working label Jul 15, 2023
@FedeDP
Copy link
Contributor

FedeDP commented Jul 17, 2023

Hi! Would you mind opening the PR?
Thank you for reporting!

@FedeDP
Copy link
Contributor

FedeDP commented Jul 17, 2023

Also, as @geraldcombs pointed out (#762 (comment)) i see you have got multiple patches downstream in debian; would you mind upstreaming them?
https://salsa.debian.org/debian/falcosecurity-libs/-/tree/master/debian/patches

@dkogan
Copy link
Contributor Author

dkogan commented Jul 17, 2023 via email

@dkogan
Copy link
Contributor Author

dkogan commented Jul 17, 2023 via email

@FedeDP
Copy link
Contributor

FedeDP commented Jul 20, 2023

  • fix-library-install-path.patch

Fixes library install paths. I don't know why it was set up the way it
was set up. If you want to be more "normal", you should take the patch

Mmh you mean because we are using a subfolder for our libraries? It is not that uncommon as far as i know (eg: pipewire installs its .so under /usr/lib/pipewire-0.3/ ).

  • properties-for-driver-event-schema.patch

This is 100% an issue :) Thank you! I am going to open the PR!

@FedeDP
Copy link
Contributor

FedeDP commented Jul 20, 2023

Opened: #1215
Thank you (you got the co-authored-by of course :) )

@dkogan
Copy link
Contributor Author

dkogan commented Jul 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
2 participants