Anyone know what this is all about?
Hi,
ch.4.4 Important Several commercial distributions add a non-documented instantiation of /etc/bash.bashrc to the initialization of bash. This file has the potential to modify the lfs user's environment in ways that can affect the building of critical LFS packages. To make sure the lfs user's environment is clean, check for the presence of /etc/bash.bashrc and, if present, move it out of the way. As the root user, run: [ ! -e /etc/bash.bashrc ] || mv -v /etc/bash.bashrc /etc/bash.bashrc.NOUSE After use of the lfs user is finished at the beginning of Chapter 7, you can restore /etc/bash.bashrc (if desired). Note that the LFS Bash package we will build in Section 8.34, “Bash-5.0” is not configured to load or execute /etc/bash.bashrc, so this file is useless on a completed LFS system. Thank you |
It was mentioned in the mailing list. As i recall, it will "pollute" the environment of the lfs user possibly causing hard to troubleshoot problems. I think the problem distros mentioned were Debian and openSuse? I see Arch linux has this file also. I would take this warning seriously.
|
Thanks. Wonder if 9.0 will work good?
|
LFS version is irrelevant - problem is distros using that undocumented, "evil" bash file. Another advantage of using LFS to build LFS.
|
Thanks Bryan,
Think I will use 9.0 and see how it goes |
All times are GMT -5. The time now is 09:04 PM. |