Dear Maintainer, Debian 13 (trixie) only supports usrmerged systems, therefore /bin will always be a symlink to /usr/bin, and /sbin will always be a symlink to /usr/sbin. Please remove /bin and /sbin from ENV_SUPATH and ENV_PATH defined in /etc/login.defs because they are no longer necessary and only increase the length of $PATH.
patch attached
I agree we should do this, but earliest in forky. util-linux might need to mirror the change. Also we should figure out whats up with /usr/games. Chris
Control: reassign -1 login.defs Control: affects -1 openssh-server Adding openssh, as the PATH set for remote logins is set by sshd. login.defs currently has: ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games This is somewhat different from what openssh has in d/rules: SUPERUSER_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DEFAULT_PATH := /usr/local/bin:/usr/bin:/bin:/usr/games Looks like we should do some realignment on these values anyway. Chris
To not repeat myself, I explained my reasons here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041357#17 Thanks.
* Santiago Vila <sanvila@debian.org> [250507 12:09]: Noted, thanks. I believe if things break because we drop /bin or /sbin, then these are normal bugs that should be fixed. Chris