aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-13 18:51:16 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-13 18:51:16 +0000
commit720e0988f2eed08bbc6e344cde90443d6b192b55 (patch)
tree141f55763fdc53c28dc6b2a068491fd1d62b5082
parent21b1878de5c5d02acc48612bf92f6987be4760a8 (diff)
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
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/bash-inst.xml3
-rw-r--r--chapter06/glibc-inst.xml3
-rw-r--r--chapter06/pwdgroup.xml3
4 files changed, 11 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 2379bbb0c..76853e02f 100644
--- a/chapter01/changelog.xml
+++ b/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 -
diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml
index 597490117..a57645280 100644
--- a/chapter06/bash-inst.xml
+++ b/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>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index a44fedbc1..19947774b 100644
--- a/chapter06/glibc-inst.xml
+++ b/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>
diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml
index 103ba579a..05b712710 100644
--- a/chapter06/pwdgroup.xml
+++ b/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>