From c76accc624f1e3f31072f7645f5faa19ccd697b6 Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Mon, 9 Feb 2004 22:44:26 +0000 Subject: Miscellaneous adjustments. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3244 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/autoconf.xml | 3 +-- chapter06/automake.xml | 3 +-- chapter06/chapter06.xml | 17 +++++++++-------- chapter06/ed.xml | 8 +++----- chapter06/makedev.xml | 5 ----- chapter06/tar.xml | 3 +-- 6 files changed, 15 insertions(+), 24 deletions(-) (limited to 'chapter06') diff --git a/chapter06/autoconf.xml b/chapter06/autoconf.xml index 08e8ea51e..7401d1ab3 100644 --- a/chapter06/autoconf.xml +++ b/chapter06/autoconf.xml @@ -24,8 +24,7 @@ can automatically configure source code. make To have the results tested, issue: -make check.This takes a long time, about 2 SBUs, -and is strictly optional. +make check. This takes a long time, about 2 SBUs. And install the package: diff --git a/chapter06/automake.xml b/chapter06/automake.xml index d023313e0..05fd9fe3a 100644 --- a/chapter06/automake.xml +++ b/chapter06/automake.xml @@ -25,8 +25,7 @@ with Autoconf. make To have the results tested, issue: -make check. This takes a long time, about 4 SBUs, -and is strictly optional. +make check. This takes a long time, about 5 SBUs. Install the package: diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index a9ddc2a71..e008d7cd5 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -255,16 +255,17 @@ dialout:x:10: audio:x:11: EOF -The created groups aren't part of any standard -- they are the groups -that the MAKEDEV script in the next section uses. Besides the group "root", the -LSB () recommends only a group "bin", -with a GID of 1, be present. All other group names and GIDs can be chosen -freely by the user, as well-written packages don't depend on GID numbers but -use the group's name. +The created groups aren't part of any standard -- they are some of the +groups that the make_devices script in the next section +uses. The LSB (Linux Standard +Base) recommends only that, beside the group "root" with a GID of 0, a +group "bin" with a GID of 1 be present. All other group names and GIDs can +be chosen freely by the system administrator, since well-written packages don't +depend on GID numbers but use the group's name. To get rid of the "I have no name!" prompt, we will start a new shell. -Since we installed a full Glibc in , and have just -created the /etc/passwd and +Since we installed a full Glibc in , +and have just created the /etc/passwd and /etc/group files, user name and group name resolution will now work. diff --git a/chapter06/ed.xml b/chapter06/ed.xml index e3e14ca15..a5e9d3942 100644 --- a/chapter06/ed.xml +++ b/chapter06/ed.xml @@ -23,11 +23,9 @@ days. Ed normally uses the mktemp function to create temporary files in /tmp, but this function contains a vulnerability (see the section on Temporary Files in ). The -following patch makes Ed use mkstemp instead, which is -the recommended way to create temporary files. - -Apply the patch: +url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). Apply +the following patch to make Ed use mkstemp instead, a +secure way to create temporary files: patch -Np1 -i ../&ed-patch; diff --git a/chapter06/makedev.xml b/chapter06/makedev.xml index 3fce5fb6a..59be742ce 100644 --- a/chapter06/makedev.xml +++ b/chapter06/makedev.xml @@ -63,11 +63,6 @@ you are satisfied, run the script to create the device files: cd /dev ./make_devices -(The FHS states that there should be a MAKEDEV -script present in the /dev directory. -But the FHS is mistaken: it should not dictate anything about files, and limit -itself to directories.) - If you had success with mounting the devpts file system earlier in , you can continue with the next section. If you were unable to mount devpts, now is the time to try the alternatives. If your kernel diff --git a/chapter06/tar.xml b/chapter06/tar.xml index 78f9e3a22..3c96fe1fe 100644 --- a/chapter06/tar.xml +++ b/chapter06/tar.xml @@ -17,8 +17,7 @@ Prepare Tar for compilation: -./configure --prefix=/usr --bindir=/bin \ -    --libexecdir=/usr/sbin +./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin Compile the package: -- cgit v1.2.3-54-g00ecf