diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4c31b395e..b61f479d1 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -133,6 +133,12 @@ Chapter 6: Changed all "rm file && ln -s dest file" into "ln -sf file" (in glibc, bzip2 and gzip installations). + +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). + + 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 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~ && mv tmp~ ../glibc-2.2.1/malloc/Makefile && + sed "s/root/0/" ../glibc-2.2.1/login/Makefile + > tmp~ && + mv tmp~ ../glibc-2.2.1/login/Makefile && + ../glibc-2.2.1/configure \    --prefix=/usr --enable-add-ons \ @@ -34,8 +38,6 @@ Install Glibc by running the following commands: make && make install && make localedata/install-locales && - cp login/pt_chown /usr/bin && - chmod 4755 /usr/bin/pt_chown