Re: GNU Bash shell startup files

"Jamenson Espindula" ([email protected] via blfs-dev Mailing List) <[email protected]> Sat, 17 Jan 2026 14:06:43 -0300
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <CAOW_YOnjGSeSwSCf_+XPzuxYOn6bUSBG0jSNmU19rauwSeGqJQ@mail.gmail.com>
Em sáb., 17 de jan. de 2026 às 06:39, Xi Ruoyao
<[email protected]> escreveu:
>
> Sourcing /etc/profile.d/* in bashrc is confusing (as *profile*.d means
> it's for profile).
>
> If we decide to reset the environment for each interactive bash shell
> we'd at least rename the directory to bashrc.d instead.  And we'd also
> need to audit all the scripts in the directory so they don't do stupid
> things if one is invoked twice (IIRC some of them is doing such a stupid
> thing like bloating an environment variable with duplicated entries).
>
Thank you for the terrific response! My experience with Linux From
Scratch is limited to my home, a system with only one user without
root privileges, besides root itself. For this reason, I always forget
about the more sophisticated systems! We live and learn. That's why
it's always very stimulating to talk to more experienced people who
are honestly willing to help.

Jamenson Espindula

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page