[Bug 880] Environment does not get cleared before chapter 5 starts

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Fri Jul 23 05:53:14 PDT 2004


kpfleming at linuxfromscratch.org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1
            Summary|CPATH environment variable  |Environment does not get
                   |doesn't get cleaned         |cleared before chapter 5
                   |                            |starts

------- Additional Comments From kpfleming at linuxfromscratch.org  2004-07-23 06:53 -------
I had never even heard of CPATH before you entered this bug, nor does the book
make any reference to it. Given that, it's not surprising that the current LFS
profile does not make any attempt to override it. I can't see any point in
adding a specific CPATH override in the profile; if we did that, we'd have to
override every variable that could possibly cause a problem, which is a very
long list.

However, I can see some value in modifying the runit.sh script to use the same
"exec env -i ... " technique that the book uses to clear out the environment
before starting nALFS. Alternatively, the chapter 5 portion of the LFS profile
could use the <root> element to chroot to "/", which would mean no effective
change in the root path at all, but the environment would be cleared because the
<root> element has that as a documented side effect.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the alfs-log mailing list