id summary reporter owner description type status priority milestone component resolution keywords cc fix_version see_also 923 debathena-bash-config interferes with base-files’s upgrading of /etc/profile andersk "base-files.postinst on Ubuntu upgrades /etc/profile as follows: {{{ if [ -f /etc/profile ]; then md5=`md5sum /etc/profile | cut -f 1 -d\ ` if grep -qw ""$md5"" /usr/share/base-files/profile.md5sums; then cp /usr/share/base-files/profile /etc/profile fi fi }}} Obviously, this breaks when /etc/profile is diverted. We could go ask Ubuntu to use ‘`dpkg-divert --truename /etc/profile`’. However, Ubuntu since hardy (base-files 4.0.1ubuntu2) and even Debian since squeeze (base-files 5.3) support /etc/profile.d/*.sh, so we should really just go use that instead. (Sadly there is no bashrc.d yet, but that’s okay because /etc/bash.bashrc is a conffile in the bash package, not generated in a postinst.)" defect closed normal The Distant Future -- fixed debathena-bash-config 1.18