John R. Graham wrote:
On the forums, I've seen the question, "Why isn't my .bashrc being executed when I log in as root but is being executed when I log in as a normal user?," asked half a dozen times on the forums. Heck, I even asked it myself a few years ago. Now, two years later, from a slightly more mature level of domain knowledge, I have to ask why the root cause shouldn't be addressed. Why can't the simple little default .bash_profile from /etc/skel be put into /root as well?
When catalyst builds a stage tarball, it doesn't add any additional files. All files in any stage tarball are created by one of the packages contained within. In order to do this, a package such as baselayout would have to install the file.
Looking at my local install, it's actually bash that creates /etc/skel/.bash{rc,_logout,_profile}. You can appeal to the maintainer(s) of the bash ebuild (should be the base-system herd) to add that functionality, but I really doubt you'll convince them.
-- Andrew Gaffney http://dev.gentoo.org/~agaffney/ Gentoo Linux Developer Catalyst/Installer + x86 release coordinator -- [EMAIL PROTECTED] mailing list