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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

bps tool is installed to wrong location #4925

Open
dvzrv opened this issue Mar 2, 2024 · 0 comments
Open

bps tool is installed to wrong location #4925

dvzrv opened this issue Mar 2, 2024 · 0 comments

Comments

@dvzrv
Copy link

dvzrv commented Mar 2, 2024

Hi! 馃憢

I'm currently cleaning up and rebuilding the bcc package for Arch Linux.

I noticed that the bps tool is installed by default

option(INSTALL_INTROSPECTION "Install BPF introspection tools" ON)

but to the wrong/ hardcoded location:

install (TARGETS bps DESTINATION share/bcc/introspection)

According to FHS the /usr/share/ location is for

Architecture-independent (shared) data.

As bps is a binary, it is architecture-dependent and should be installed to /usr/bin/ instead as it is for

Non-essential command binaries (not needed in single-user mode); for all users.

Is there a particular reason why the bps executable is installed to this location?

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

1 participant