diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index 03a3e0614..ae42cf4cb 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -81,15 +81,13 @@
class="username">tester user:
su tester -c "PATH=$PATH make tests"
-
+
The tester
user does not have enough permissions for all the tests to pass. This shows
- up in some diff
output in four test results.
+ up in some diff
output in four test results. Portions of the
+ run-execscript, run-lastpipe, run-read, and run-test programs
+ are known to fail in the LFS chroot environment, but pass if the tests
+ are run in a full system.
Install the package and move the main executable to
/bin:
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
index 8e7b78410..74a071df0 100644
--- a/chapter06/createfiles.xml
+++ b/chapter06/createfiles.xml
@@ -345,8 +345,9 @@ EOF
Some tests later in the chapter need a regular user. We add this
user here and delete this account at the end of the chapter.
-echo "tester:x:101:101::/tmp:/bin/bash" >> /etc/passwd
-echo "tester:x:101:dummy" >> /etc/group
+echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd
+echo "tester:x:101:dummy" >> /etc/group
+install -o tester -d /home/tester
To remove the I have no name!
prompt, start a new
shell. Since a full Glibc was installed in
Finally, remove the temporary 'tester' usr account created at the
beginning of this chapter.
-sed -i '/tester/d' /etc/passwd /etc/group
+sed -i '/tester/d' /etc/passwd /etc/group
+rm -rf /home/tester