Opened 22 years ago
Closed 21 years ago
#378 closed defect (fixed)
Change bash config to make non interactive shells behave as interactive
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
There are lot of reports on lfs-support and blfs-support related to problems with bash behaving differently for interactive shells and non-interactive shells.
A simple fix is to change the file config-top.h at compile time and comment out ""#define NON_INTERACTIVE_LOGIN_SHELLS". Redhat has been using it for a long time now and it is not reported to cause any problems since there is no hacking of the source involved, only a configuration change. Will be attaching a one liner patch to fix this.
Attachments (1)
Change History (10)
by , 22 years ago
Attachment: | bash-noninteractiveshell.patch added |
---|
comment:1 by , 22 years ago
Nice idea maybe to add as a comment to the bash installation (maybe, I didn't say it's going to happen) but this is a configure thing, not a bug fix. And quite frankly if people don't even bother reading the man page I really don't feel for them. The man page quite clearly explains how bash works and which files it reads under which circumstances.
comment:2 by , 22 years ago
Priority: | normal → lowest |
---|
comment:4 by , 22 years ago
Priority: | normal → low |
---|
comment:5 by , 21 years ago
Priority: | low → highest |
---|
This one we should be able to get in before 5.0 - setting to P1
comment:7 by , 21 years ago
Status: | assigned → new |
---|
comment:9 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added a note to the chapter 6 bash instructions regarding this possible change.
Patch