Author: dnicholson
Date: 2007-08-08 12:10:57 -0600 (Wed, 08 Aug 2007)
New Revision: 8294

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bash.xml
Log:
Fix bash stdin test to work when switching users


Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-08-08 06:40:29 UTC (rev 8293)
+++ trunk/BOOK/chapter01/changelog.xml  2007-08-08 18:10:57 UTC (rev 8294)
@@ -40,6 +40,12 @@
       <para>2007-08-07</para>
       <itemizedlist>
         <listitem>
+          <para>[dnicholson] - Redirected <filename
+          class="devicefile">/dev/tty</filename> to standard input when
+          running the Bash testsuite to prevent errors with terminal
+          permissions.</para>
+        </listitem>
+        <listitem>
           <para>[dnicholson] - Added the 
<parameter>--disable-werror</parameter>
           parameter to Binutils Pass 1.</para>
         </listitem>

Modified: trunk/BOOK/chapter06/bash.xml
===================================================================
--- trunk/BOOK/chapter06/bash.xml       2007-08-08 06:40:29 UTC (rev 8293)
+++ trunk/BOOK/chapter06/bash.xml       2007-08-08 18:10:57 UTC (rev 8294)
@@ -81,9 +81,10 @@
 chown -Rv nobody ./</userinput></screen>
 
     <para>Now, run the tests as the <systemitem
-    class="username">nobody</systemitem> user:</para>
+    class="username">nobody</systemitem> user, ensuring that the standard
+    input device is readable:</para>
 
-<screen><userinput>su-tools nobody -s /bin/bash -c "make 
tests"</userinput></screen>
+<screen><userinput>su-tools nobody -s /bin/bash -c "make tests" 
&lt;/dev/tty</userinput></screen>
 
     <para>Install the package:</para>
 

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

Reply via email to