Bug#977133: debootstrap: Add ${HOME}/.local/bin to default non-root PATH
Package: debootstrap
Version: 1.0.123
Severity: normal
X-Debbugs-Cc: witold.baryluk@gmail.com
I am not sure if this is bug more for debootstrap or some other package
(base-files?), but:
I think ~/.local/bin should be added to default non-root PATH.
I belive Fedora and Ubuntu already does that.
I think adding it to /etc/profile.d or /etc/skel could be a good option.
Reasoning, one of the good reasons is to have some user-controllable
directory in the PATH by default, to add custom scripts and overrides.
The power of defaults (and consistent with other distros) is big one.
Another good example is `pip3 --user install`, which will often install
binaries (or symlinks to them) in ~/.local/bin/.
There are more examples doing similar.
Please reassign to base-files or bash if appropiate.
Regards,
Witold
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-3-amd64 (SMP w/32 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debootstrap depends on:
ii wget 1.20.3-1+b3
Versions of packages debootstrap recommends:
ii arch-test 0.16-2
ii debian-archive-keyring 2019.1
ii gnupg 2.2.20-1
Versions of packages debootstrap suggests:
pn squid-deb-proxy-client <none>
pn ubuntu-archive-keyring <none>
-- no debconf information
Reply to: