diff options
-rw-r--r-- | chapter01/changelog.xml | 6 | ||||
-rw-r--r-- | chapter06/glibc-inst.xml | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4c31b395e..b61f479d1 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -134,6 +134,12 @@ Chapter 6: Changed all "rm file && ln -s dest file" into </para></listitem> <listitem><para> +Chapter 6: Added a sed to fix a problem during glibc-installation. +pt_chown can not be installed setuid root, because "root" is not known by +glibc yet (kind of hen and egg-problem). +</para></listitem> + +<listitem><para> Chapter 7: Fixed the delays in the killproc function in the functions script. Now, after kill, first check PIDs, then sleep 2 if needed. More details can be read in the comments in the script itself. diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index cd7f8bb56..8fb8ac39b 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -21,6 +21,10 @@ Install Glibc by running the following commands: > tmp~ &&</userinput> <userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile && </userinput> + <userinput>sed "s/root/0/" ../glibc-2.2.1/login/Makefile + > tmp~ && </userinput> + <userinput>mv tmp~ ../glibc-2.2.1/login/Makefile && + </userinput> <userinput>../glibc-2.2.1/configure \</userinput> <userinput> --prefix=/usr --enable-add-ons \</userinput> @@ -34,8 +38,6 @@ Install Glibc by running the following commands: <userinput>make &&</userinput> <userinput>make install &&</userinput> <userinput>make localedata/install-locales &&</userinput> - <userinput>cp login/pt_chown /usr/bin &&</userinput> - <userinput>chmod 4755 /usr/bin/pt_chown</userinput> </literallayout></blockquote> |