From 720e0988f2eed08bbc6e344cde90443d6b192b55 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 13 May 2003 18:51:16 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 5 +++++ chapter06/bash-inst.xml | 3 ++- chapter06/glibc-inst.xml | 3 ++- chapter06/pwdgroup.xml | 3 ++- 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 @@ +May 13th, 2003 [gerard]: Chapter 06: When we +exec /path/to/bash --login, also run set ++h to keep the hashing option turned off. Fixes bug +#531 + 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: Reload the newly compiled Bash: -exec /bin/bash --login +exec /bin/bash --login +set +h 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 glibc-&glibc-version; tree. libnss_* files. This will also get rid of the I have no name! message in the command prompt: -exec /stage1/bin/bash --login +exec /stage1/bin/bash --login +set +h 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 () 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. -exec /stage1/bin/bash --login +exec /stage1/bin/bash --login +set +h