Эх сурвалжийг харах

Added set +h after every exec /path/to/bash

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2610 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 жил өмнө
parent
commit
720e0988f2

+ 5 - 0
chapter01/changelog.xml

@@ -78,6 +78,11 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>May 13th, 2003 [gerard]: Chapter 06: When we
+<userinput>exec /path/to/bash --login</userinput>, also run <userinput>set
++h</userinput> to keep the hashing option turned off. Fixes bug
+#531</para></listitem>
+
 <listitem><para>May 13th, 2003 [gerard]: Chapter 06 - Basic Network:
 Changed the single quotes to double quotes in the echo command. Without it,
 $(hostname) won't expand which defeats the sole purpose of this command -

+ 2 - 1
chapter06/bash-inst.xml

@@ -25,6 +25,7 @@ patch:</para>
 
 <para>Reload the newly compiled Bash:</para>
 
-<para><screen><userinput>exec /bin/bash --login</userinput></screen></para>
+<para><screen><userinput>exec /bin/bash --login
+set +h</userinput></screen></para>
 
 </sect2>

+ 2 - 1
chapter06/glibc-inst.xml

@@ -85,7 +85,8 @@ file in the <filename>glibc-&glibc-version;</filename> tree.</para>
 <filename>libnss_*</filename> files. This will also get rid of the
 <emphasis>I have no name!</emphasis> message in the command prompt:</para>
 
-<para><screen><userinput>exec /stage1/bin/bash --login</userinput></screen></para>
+<para><screen><userinput>exec /stage1/bin/bash --login
+set +h</userinput></screen></para>
 
 </sect2>
 

+ 2 - 1
chapter06/pwdgroup.xml

@@ -40,7 +40,8 @@ the LSB (<ulink url="http://www.linuxbase.org"/>) recommends only a group
 chosen freely by the user, as well-written packages don't depend on GID
 numbers but use the group's name.</para>
 
-<para><screen><userinput>exec /stage1/bin/bash --login</userinput></screen></para>
+<para><screen><userinput>exec /stage1/bin/bash --login
+set +h</userinput></screen></para>
 
 </sect1>