Package: base-files Version: 5.0.0 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
As reported at https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/416305 it would be desirable for base-files provided for BASH to source the content of /etc/profile.d/ *after* global shell defaults have been set, within /etc/profile. As mentioned at that bug report, Ubuntu would prefer this change to be first implemented by Debian and then synchronized into Ubuntu afterwards. Additionally, Debian doesn't currently source the content of /etc/profile.d/ and it would be desirable for this to be implemented as well. The resulting /etc/profile would be: 8X----- # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "`id -u`" -eq 0 ]; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" fi if [ "$PS1" ]; then if [ "$BASH" ]; then PS1='\...@\h:\w\$ ' else if [ "`id -u`" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi export PATH umask 022 #EOF 8X----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqm1+AACgkQeXr56x4Muc0lAACeK8I7p2MkT9rRP1H9gSik/PWy NBAAni0oACFFlWZAdzEG0PPg+A3y7IRM =Y/1q -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org