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

avoid hard-linking to paths #214

Open
bugsbugsbux opened this issue Dec 27, 2024 · 0 comments
Open

avoid hard-linking to paths #214

bugsbugsbux opened this issue Dec 27, 2024 · 0 comments

Comments

@bugsbugsbux
Copy link

Hi, please avoid hard-linking to executables and rather obtain them via PATH.

For example, on nixos invoking jconsole always prints the error /bin/sh: line 1: /sbin/ldconfig: No such file or directory. This is because there is no /sbin on nixos; expecting /sbin/ to exist is generally not a good idea because, as can be read in man 7 file-hierarchy, /sbin/ as well as /bin/ and /usr/sbin/ are legacy folders and if they even exist, usually just symbolic links to /usr/bin/

https://github.com/search?q=repo%3Ajsoftware%2Fjsource+%2Fsbin%2Fldconfig&type=code

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