- Package:
- base-files
- Source:
- base-files
- Description:
- Debian base system miscellaneous files
- Submitter:
- Sunny73Cr
- Date:
- 2025-05-20 10:33:02 UTC
- Severity:
- normal
- Tags:
If /bin links to /usr/bin, and /usr/bin is in the PATH by default; why include /bin? I'm assuming that the PATH is searched right to left (as later declarations over-write previous declarations), which would mean there is a small to zero performance reduction. If not; there is performance to be found. Found on Debian 12.9, I assume that this applies to many operating systems.
tags 1106140 wontfix thanks El 20/5/25 a las 9:46, Sunny73Cr escribió: The PATH is actually searched left to right, so there is hardly any performance gain by dropping /bin. Moreover, weird things may happen when we change the PATH: https://lists.debian.org/debian-devel/2025/05/msg00050.html We might reconsider after the release of trixie, but for now this is a wontfix. Thanks.
Oops! I made an incorrect assumption. The folders listed in the PATH are not overwritten for Bash and Dash; it is a first match search. Thanks