Author: matthew
Date: 2012-04-15 15:12:27 -0600 (Sun, 15 Apr 2012)
New Revision: 9810
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter05/coreutils.xml
trunk/BOOK/chapter06/bash.xml
trunk/BOOK/chapter06/coreutils.xml
trunk/BOOK/general.ent
Log:
Install su as 'su', not 'su-tools' in chapter 5. Use chapter 6's 'su' for
Bash. Fixes #3057.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2012-04-11 17:00:59 UTC (rev 9809)
+++ trunk/BOOK/chapter01/changelog.xml 2012-04-15 21:12:27 UTC (rev 9810)
@@ -37,6 +37,18 @@
-->
<listitem>
+ <para>2012-04-15</para>
+ <itemizedlist>
+ <listitem>
+ <para>[matthew] - Use su from chapter 6 Coreutils in the Bash
+ instructions, instead of the one from chapter 5. Install su as su
+ rather than su-tools in chapter 5. Fixes
+ <ulink url="&lfs-ticket-root;3057">#3057</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2012-05-09</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/chapter05/coreutils.xml
===================================================================
--- trunk/BOOK/chapter05/coreutils.xml 2012-04-11 17:00:59 UTC (rev 9809)
+++ trunk/BOOK/chapter05/coreutils.xml 2012-04-15 21:12:27 UTC (rev 9810)
@@ -81,12 +81,10 @@
<para>The above command refuses to install <filename>su</filename>
because the program cannot be installed setuid root as a non-privileged
- user. By manually installing it with a different name, we can use it for
- running tests in the final system as a non-privileged user and we keep a
- possibly useful <command>su</command> from our host first in our PATH.
- Install it with:</para>
+ user. By manually installing it, we can use it for running tests in the
+ final system as a non-privileged user. Install it with:</para>
-<screen><userinput remap="install">cp -v src/su
/tools/bin/su-tools</userinput></screen>
+<screen><userinput remap="install">cp -v src/su /tools/bin</userinput></screen>
</sect2>
Modified: trunk/BOOK/chapter06/bash.xml
===================================================================
--- trunk/BOOK/chapter06/bash.xml 2012-04-11 17:00:59 UTC (rev 9809)
+++ trunk/BOOK/chapter06/bash.xml 2012-04-15 21:12:27 UTC (rev 9810)
@@ -89,7 +89,7 @@
<para>Now, run the tests as the <systemitem
class="username">nobody</systemitem> user:</para>
-<screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make
tests"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash -c "make
tests"</userinput></screen>
<para>Install the package:</para>
Modified: trunk/BOOK/chapter06/coreutils.xml
===================================================================
--- trunk/BOOK/chapter06/coreutils.xml 2012-04-11 17:00:59 UTC (rev 9809)
+++ trunk/BOOK/chapter06/coreutils.xml 2012-04-15 21:12:27 UTC (rev 9810)
@@ -105,7 +105,7 @@
<para>Now run the tests:</para>
-<screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make
RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash -c "make
RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
<para>Remove the temporary group:</para>
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2012-04-11 17:00:59 UTC (rev 9809)
+++ trunk/BOOK/general.ent 2012-04-15 21:12:27 UTC (rev 9810)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20120409">
-<!ENTITY releasedate "Apr 09, 2012">
+<!ENTITY version "SVN-20120415">
+<!ENTITY releasedate "Apr 15, 2012">
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not
– -->
<!ENTITY milestone "7.2">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or
"x.y[-pre{x}]" -->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page