[lfs-support] make error / nptl/tst-cond25 / LFS 7.4 / 6.9. Glibc-2.18 / Ubuntu 12.04 LTS

Bruce Dubbs bruce.dubbs at gmail.com
Sun Nov 24 07:53:13 PST 2013

Ron Hartikka wrote:
> Thanks Bruce but just to be 200% clear... see below
>> Is it necessary to log out of user lfs between packages* in chapter 5*?
>> Not exactly, but you need to be root to use chroot.  You would need to
>> su to root from the lfs user.
>>> I still wonder about this.
>>> If you don't log out, then you can accumulate environment changes, right?
>> No, the environment will be reset by the chroot instruction.
> OK. chroot starts well defined.
> But I'm wondering about any vars could accumulate *within chapter 5* before
> any chroot. Environment changes from packages early in ch 5 would affect
> builds in later sections in ch 5.

A subshell, including any executing program, cannot affect a parent 
shell.  That's part of the Unix design.

   -- Bruce

More information about the lfs-support mailing list