Changeset 1f5a586


Ignore:
Timestamp:
05/29/2020 10:05:38 PM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
b51bb68
Parents:
18fa909
Message:

Tweak additions and deletion of tester user.
Explain test filures in bash.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11868 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r18fa909 r1f5a586  
    8282
    8383<screen><userinput remap="test">su tester -c "PATH=$PATH make tests"</userinput></screen>
    84 <!--
    85     <para>The <command>su</command> command above is slightly different from
    86     other places in the book. The
    87     reason is that the <option>-c</option> option runs the command without
    88     a controlling terminal, while the bash test suite needs one.</para>
    89 -->
     84
    9085    <para>The <systemitem class="username">tester</systemitem>
    9186    user does not have enough permissions for all the tests to pass. This shows
    92     up in some <quote>diff</quote> output in four test results.</para>
     87    up in some <quote>diff</quote> output in four test results. Portions of the
     88    run-execscript, run-lastpipe, run-read, and run-test programs
     89    are known to fail in the LFS chroot environment, but pass if the tests
     90    are run in a full system.</para>
    9391
    9492    <para>Install the package and move the main executable to
  • chapter06/createfiles.xml

    r18fa909 r1f5a586  
    346346  user here and delete this account at the end of the chapter.</para>
    347347
    348 <screen><userinput>echo "tester:x:101:101::/tmp:/bin/bash" &gt;&gt; /etc/passwd
    349 echo "tester:x:101:dummy" &gt;&gt; /etc/group</userinput></screen>
     348<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
     349echo "tester:x:101:dummy" &gt;&gt; /etc/group
     350install -o tester -d /home/tester</userinput></screen>
    350351
    351352  <para>To remove the <quote>I have no name!</quote> prompt, start a new
  • chapter06/revisedchroot.xml

    r18fa909 r1f5a586  
    7474   beginning of this chapter.</para>
    7575
    76 <screen><userinput>sed -i '/tester/d' /etc/passwd /etc/group</userinput></screen>
     76<screen><userinput>sed -i '/tester/d' /etc/passwd /etc/group
     77rm -rf /home/tester</userinput></screen>
    7778</sect1>
Note: See TracChangeset for help on using the changeset viewer.