diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-02-27 14:49:28 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-02-27 14:49:28 +0000 |
commit | ae11e83e815c5fca9fb0098bfdee551274c1d079 (patch) | |
tree | daa3758758ff83a5f82162e3507e8ccc03278f87 /chapter06 | |
parent | fde8d24b122f42d25debb2af2443e7b625d77e2a (diff) |
Added commands to remove setgid kmem from /usr/bin/make
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1646 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/make-exp.xml | 13 | ||||
-rw-r--r-- | chapter06/make-inst.xml | 4 | ||||
-rw-r--r-- | chapter06/make.xml | 1 |
3 files changed, 17 insertions, 1 deletions
diff --git a/chapter06/make-exp.xml b/chapter06/make-exp.xml new file mode 100644 index 000000000..7bd539b7f --- /dev/null +++ b/chapter06/make-exp.xml @@ -0,0 +1,13 @@ +<sect2> +<title>Command explanations</title> + +<para>By default <filename>/usr/bin/make</filename> is installed setgid +kmem. This is needed on some systems so it can check the load average by +using <filename>/dev/kmem</filename>. However, on Linux systems, setgid +kmem is not needed, so we remove this from our <filename>make</filename> +binary. This also fixes problems with the <filename>make</filename> +ignoring certain variables like +<emphasis>LD_LIBRARY_PATH</emphasis>.</para> + +</sect2> + diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml index 64a952a4c..02cce215e 100644 --- a/chapter06/make-inst.xml +++ b/chapter06/make-inst.xml @@ -5,7 +5,9 @@ <para><screen><userinput>./configure --prefix=/usr && make && -make install</userinput></screen></para> +make install && +chgrp root /usr/bin/make && +chmod 755 /usr/bin/make</userinput></screen></para> </sect2> diff --git a/chapter06/make.xml b/chapter06/make.xml index ff32f0fe3..94e5f96cc 100644 --- a/chapter06/make.xml +++ b/chapter06/make.xml @@ -6,6 +6,7 @@ Estimated required disk space: &make-compsize;</screen> &c6-make-inst; +&c6-make-exp; &aa-make-desc; &aa-make-dep; |