bash_profile

Scott Swanson DrMemory at starband.net
Mon Sep 13 09:28:11 PDT 2004


On Sat, 11 Sep 2004, Matthias B. wrote:

> On Sat, 11 Sep 2004 07:55:20 -0600 (MDT) Scott Swanson
> <harview at montana.com> wrote:
> 
> > What happens is that when I login as lfs (the user for whom the
> > .bash_profile exists), I receive no prompt. Typing characters on the
> > keyboard results in their being displayed on the terminal, but nothing
> > else. Doing ps ax in another virtual terminal shows that /bin/bash is
> > running on the login terminal.
> 
> When you use `ps' several times, is the PID for /bin/bash always the same?

Yes.

> What I'm trying to find out is if maybe your bash sources .bash_profile,
> which execs a new bash that sources .bash_profile, which starts a new bash
> that sources .bash_profile,... ad infinitum.

That was my first thought, too.

> A possible source of trouble is ~/.bashrc. Do you have that set up
> properly for the lfs user?
> 

I guess so.... I copied it right from the book.

.bashrc:
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL PATH

thanks.
Scott Swanson







More information about the lfs-support mailing list