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

Installing into sbin is unnecessary #1672

Open
whot opened this issue Jan 2, 2025 · 0 comments
Open

Installing into sbin is unnecessary #1672

whot opened this issue Jan 2, 2025 · 0 comments
Labels

Comments

@whot
Copy link
Member

whot commented Jan 2, 2025

Information

Commit 6a07d0e (0.18+) moved ratbagd into /usr/sbin/ with the comment

Ratbagd requires to be run by root. It should thus live in the system binary directory.

This is IMO based on a misunderstanding of what /usr/sbin was/is - originally a set of statically linked binaries, now "admin tools" (whatever that means). The s does not stand for superuser though, so installing anything modern into /sbin is imo a bug1. The Fedora change request to get rid of /usr/sbin has a few more details: https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

Footnotes

  1. this goes doubly for anything invoked as systemd service since systemd doesn't even make a distinction between these two

@whot whot added the bug label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant