Changeset 1f5a586


Ignore:
Timestamp:
05/29/2020 10:05:38 PM (17 months 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, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
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.