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

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to