r4582 - in trunk/BOOK: general/sysutils introduction/welcome postlfs/security

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sun Jun 12 11:06:49 PDT 2005


Author: bdubbs
Date: 2005-06-12 12:06:48 -0600 (Sun, 12 Jun 2005)
New Revision: 4582

Modified:
   trunk/BOOK/general/sysutils/cpio.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/firewalling.xml
Log:
Update cpio instructions for LSB compliance; update firewalling instructions to make scripts executable

Modified: trunk/BOOK/general/sysutils/cpio.xml
===================================================================
--- trunk/BOOK/general/sysutils/cpio.xml	2005-06-12 17:21:37 UTC (rev 4581)
+++ trunk/BOOK/general/sysutils/cpio.xml	2005-06-12 18:06:48 UTC (rev 4582)
@@ -66,8 +66,11 @@
 ./configure CPIO_MT_PROG=mt --prefix=/usr \
     --bindir=/bin --libexecdir=/tmp \
     --with-rmt=/usr/sbin/rmt &&
+echo "#define HAVE_SETLOCALE 1" >> config.h &&
 make</userinput></screen>
 
+    <para>To test the results, issue: <command>make check</command>.</para>
+    
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install</userinput></screen>
@@ -95,6 +98,10 @@
     building the <command>rmt</command> program as it is already installed by the
     <application>tar</application> package in LFS.</para>
 
+    <para><command>echo "#define HAVE_SETLOCALE 1" >> config.h</command>:
+    This command fixes a build problem to ensure proper LSB functionality.</para>
+        
+
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-06-12 17:21:37 UTC (rev 4581)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-06-12 18:06:48 UTC (rev 4582)
@@ -25,6 +25,16 @@
   <itemizedlist>
 
     <listitem>
+      <para>June 12th, 2005 [bdubbs]: Added instruction to make rc.iptables
+      executable in firewalling section.</para>
+    </listitem>
+    
+    <listitem>
+      <para>June 12th, 2005 [bdubbs]: Updated cpio instructions to ensure LSB 
+      testsuites pass internationalization tests.</para>
+    </listitem>
+
+    <listitem>
       <para>June 12th, 2005 [djensen]: Updated to Links-2.1pre17. Added
       SDL to optional dependencies. Separated user and root 
       instructions.</para>

Modified: trunk/BOOK/postlfs/security/firewalling.xml
===================================================================
--- trunk/BOOK/postlfs/security/firewalling.xml	2005-06-12 17:21:37 UTC (rev 4581)
+++ trunk/BOOK/postlfs/security/firewalling.xml	2005-06-12 18:06:48 UTC (rev 4582)
@@ -250,7 +250,8 @@
 iptables -A INPUT -j LOG --log-prefix "FIREWALL:INPUT "
 
 # End $rc_base/rc.iptables</literal>
-EOF</userinput></screen>
+EOF
+chmod 700 /etc/rc.d/rc.iptables</userinput></screen>
 
       <para>This script is quite simple, it drops all traffic coming
       in into your computer that wasn't initiated from your box, but
@@ -375,7 +376,8 @@
 
 # Enable IP Forwarding
 echo 1 > /proc/sys/net/ipv4/ip_forward</literal>
-EOF</userinput></screen>
+EOF
+chmod 700 /etc/rc.d/rc.iptables</userinput></screen>
 
       <para>With this script your intranet should be reasonably secure
       against external attacks. No one should be able to setup a new




More information about the blfs-book mailing list