Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99575 - Error in /etc/profile causes problems with bash
Summary: Error in /etc/profile causes problems with bash
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 14:15 UTC by Alex Weiss
Modified: 2005-07-22 15:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Weiss 2005-07-19 14:15:40 UTC
Hi, 
 
This is the second time this problem has arisen with the /etc/profile that is 
provided by a new baselayout (1.11.13 this time). Basically, something is not 
right with /etc/profile and, hence, when you try to enter a shell, it hangs 
and does nothing. You can control-C to get out, but, unless you have a 
working /etc/profile backed up, you can hardly do anything easily. This really 
should be checked more thoroughly before marking it as stable. 

Reproducible: Always
Steps to Reproduce:
1.Either bring up a console, log in, or type source /etc/profile 
2. 
3. 
 
Actual Results:  
It hangs until you hit control-c  

Expected Results:  
Normal functionality with respect to the bash shell.
Comment 1 SpanKY gentoo-dev 2005-07-19 17:59:41 UTC
funny it works for everyone else

try running `bash -x` and see where the loop comes from
Comment 2 SpanKY gentoo-dev 2005-07-22 06:58:12 UTC
get back to us
Comment 3 Alex Weiss 2005-07-22 14:44:33 UTC
Sorry to say that I don't have the /etc/source that was causing the problem on 
my computer anymore. If you could post it as an attachment, I'd be happy to 
help debug it. 
Comment 4 SpanKY gentoo-dev 2005-07-22 15:01:19 UTC
uhh, i cant post my /etc/profile because it works just fine