mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-05 03:49:43 +01:00
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
This commit is contained in:
parent
fde8d24b12
commit
ae11e83e81
13
chapter06/make-exp.xml
Normal file
13
chapter06/make-exp.xml
Normal file
@ -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>
|
||||||
|
|
@ -5,7 +5,9 @@
|
|||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/usr &&
|
<para><screen><userinput>./configure --prefix=/usr &&
|
||||||
make &&
|
make &&
|
||||||
make install</userinput></screen></para>
|
make install &&
|
||||||
|
chgrp root /usr/bin/make &&
|
||||||
|
chmod 755 /usr/bin/make</userinput></screen></para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
Estimated required disk space: &make-compsize;</screen>
|
Estimated required disk space: &make-compsize;</screen>
|
||||||
|
|
||||||
&c6-make-inst;
|
&c6-make-inst;
|
||||||
|
&c6-make-exp;
|
||||||
&aa-make-desc;
|
&aa-make-desc;
|
||||||
&aa-make-dep;
|
&aa-make-dep;
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
<!ENTITY book SYSTEM "book/book.xml">
|
<!ENTITY book SYSTEM "book/book.xml">
|
||||||
|
|
||||||
<!ENTITY version "20020226">
|
<!ENTITY version "20020227">
|
||||||
<!ENTITY releasedate "February 26th, 2002">
|
<!ENTITY releasedate "February 27th, 2002">
|
||||||
|
|
||||||
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
||||||
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
||||||
@ -277,6 +277,7 @@
|
|||||||
<!ENTITY c6-lilo-inst SYSTEM "chapter06/lilo-inst.xml">
|
<!ENTITY c6-lilo-inst SYSTEM "chapter06/lilo-inst.xml">
|
||||||
<!ENTITY c6-make SYSTEM "chapter06/make.xml">
|
<!ENTITY c6-make SYSTEM "chapter06/make.xml">
|
||||||
<!ENTITY c6-make-inst SYSTEM "chapter06/make-inst.xml">
|
<!ENTITY c6-make-inst SYSTEM "chapter06/make-inst.xml">
|
||||||
|
<!ENTITY c6-make-exp SYSTEM "chapter06/make-exp.xml">
|
||||||
<!ENTITY c6-shellutils SYSTEM "chapter06/shellutils.xml">
|
<!ENTITY c6-shellutils SYSTEM "chapter06/shellutils.xml">
|
||||||
<!ENTITY c6-shellutils-inst SYSTEM "chapter06/shellutils-inst.xml">
|
<!ENTITY c6-shellutils-inst SYSTEM "chapter06/shellutils-inst.xml">
|
||||||
<!ENTITY c6-shadowpwd SYSTEM "chapter06/shadowpwd.xml">
|
<!ENTITY c6-shadowpwd SYSTEM "chapter06/shadowpwd.xml">
|
||||||
|
Loading…
Reference in New Issue
Block a user