Author: manuel Date: 2006-12-09 10:19:14 -0700 (Sat, 09 Dec 2006) New Revision: 940
Modified: branches/2.4-branch/BOOK/chapter06/chroot.xml branches/2.4-branch/BOOK/chapter06/kernfs.xml Log: Moved sysctl settings from chroot.xml to kernfs.xml Modified: branches/2.4-branch/BOOK/chapter06/chroot.xml =================================================================== --- branches/2.4-branch/BOOK/chapter06/chroot.xml 2006-12-05 11:20:56 UTC (rev 939) +++ branches/2.4-branch/BOOK/chapter06/chroot.xml 2006-12-09 17:19:14 UTC (rev 940) @@ -7,16 +7,6 @@ <title>Entering the Chroot Environment</title> <?dbhtml filename="chroot.html"?> - <para>If you are running an existing HLFS system with Grsecurity - options enabled then some will need to be disabled to compile the - system in this chapter. If you compiled the kernel with sysctl support - in Grsecurity then use these commands:</para> - -<screen><userinput>sysctl -w kernel.grsecurity.chroot_caps=0 -sysctl -w kernel.grsecurity.chroot_deny_mknod=0 -sysctl -w kernel.grsecurity.chroot_deny_chmod=0 -sysctl -w kernel.grsecurity.chroot_deny_mount=0</userinput></screen> - <para>It is time to enter the chroot environment to begin building and installing the final HLFS system. As user <emphasis>root</emphasis>, run the following command to enter the @@ -47,7 +37,7 @@ told that <filename class="directory">$HLFS</filename> is now the root (<filename class="directory">/</filename>) directory.</para> -<para>Notice that <filename class="directory">/tools/bin</filename> +<para>Notice that <filename class="directory">/tools/bin</filename> comes last in the <envar>PATH</envar>. This means that a temporary tool will not be used anymore as soon as its final version is installed. This occurs when the shell does not <quote>remember</quote> the Modified: branches/2.4-branch/BOOK/chapter06/kernfs.xml =================================================================== --- branches/2.4-branch/BOOK/chapter06/kernfs.xml 2006-12-05 11:20:56 UTC (rev 939) +++ branches/2.4-branch/BOOK/chapter06/kernfs.xml 2006-12-09 17:19:14 UTC (rev 940) @@ -45,5 +45,15 @@ <screen><userinput>install -vd $HLFS/dev/pts mount -vt devpts devpts $HLFS/dev/pts</userinput></screen> + <para>If you are running an existing HLFS system with Grsecurity + options enabled then some will need to be disabled to compile the + system in this chapter. If you compiled the kernel with sysctl support + in Grsecurity then use these commands:</para> + +<screen><userinput>sysctl -w kernel.grsecurity.chroot_caps=0 +sysctl -w kernel.grsecurity.chroot_deny_mknod=0 +sysctl -w kernel.grsecurity.chroot_deny_chmod=0 +sysctl -w kernel.grsecurity.chroot_deny_mount=0</userinput></screen> + </sect1> -- http://linuxfromscratch.org/mailman/listinfo/hlfs-book FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
