LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-23-2020, 09:20 AM   #1
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Rep: Reputation: Disabled
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
 
Old 10-23-2020, 04:07 PM   #2
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: Linux-from-Scratch
Posts: 109

Rep: Reputation: Disabled
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.
 
Old 10-23-2020, 04:43 PM   #3
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Thanks. Wonder if 9.0 will work good?
 
Old 10-24-2020, 08:40 AM   #4
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: Linux-from-Scratch
Posts: 109

Rep: Reputation: Disabled
LFS version is irrelevant - problem is distros using that undocumented, "evil" bash file. Another advantage of using LFS to build LFS.
 
Old 10-24-2020, 10:44 AM   #5
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Thanks Bryan,
Think I will use 9.0 and see how it goes
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What I know, looking for what I don't know I don't know Dontpanic Linux - Newbie 18 07-23-2019 07:37 PM
LXer: Another root hole in OS X. We know it, you know it, the bad people know it, and no patch exis LXer Syndicated Linux News 0 08-18-2015 08:42 PM
LXer: Another root hole in OS X. We know it, you know it, the bad people know it – and no patch ex LXer Syndicated Linux News 0 08-18-2015 08:12 PM
The more I know the less I know I know sjb LinuxQuestions.org Member Intro 1 02-11-2008 12:50 PM
Hi all ... anyone know from where i can get sbCreative live 5.1 Driver ? SlackwareMan Linux - Hardware 2 08-06-2004 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration