r1329 - in trunk/BOOK: . chapter01 chapter04 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Fri Jan 18 13:28:33 PST 2008


Author: robert
Date: 2008-01-18 14:28:33 -0700 (Fri, 18 Jan 2008)
New Revision: 1329

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter04/patches.xml
   trunk/BOOK/chapter06/sysklogd.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/patches.ent
Log:
Bump to sysklogd-1.5. Added Sed command to make new log files readable only by owner (root)

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2008-01-18 16:37:32 UTC (rev 1328)
+++ trunk/BOOK/chapter01/changelog.xml	2008-01-18 21:28:33 UTC (rev 1329)
@@ -52,6 +52,10 @@
       <para>January 18th, 2008</para>
       <itemizedlist>
         <listitem>
+          <para>[robert] - Bump to sysklogd-1.5. Added Sed command to
+          make new log files readable only by owner (root).</para>
+        </listitem>
+        <listitem>
           <para>[robert] - Don't install libintl.so twice in chap5,
           and modify the libstdc++-v3 build, for uClibc.</para>
         </listitem>

Modified: trunk/BOOK/chapter04/patches.xml
===================================================================
--- trunk/BOOK/chapter04/patches.xml	2008-01-18 16:37:32 UTC (rev 1328)
+++ trunk/BOOK/chapter04/patches.xml	2008-01-18 21:28:33 UTC (rev 1329)
@@ -430,10 +430,10 @@
     </varlistentry>
 
     <varlistentry>
-      <term>Sysklogd Community Fixes Patch - <token>&sysklogd-community_fixes-patch-size;</token>:</term>
+      <term>Sysklogd Disable __syslog_chk Patch - <token>&sysklogd-disable__syslog_chk-patch-size;</token>:</term>
       <listitem>
-        <para>Download: <ulink url="&patches-root;&sysklogd-community_fixes-patch;"/></para>
-        <para>MD5 sum: <literal>&sysklogd-community_fixes-patch-md5;</literal></para>
+        <para>Download: <ulink url="&patches-root;&sysklogd-disable__syslog_chk-patch;"/></para>
+        <para>MD5 sum: <literal>&sysklogd-disable__syslog_chk-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
 

Modified: trunk/BOOK/chapter06/sysklogd.xml
===================================================================
--- trunk/BOOK/chapter06/sysklogd.xml	2008-01-18 16:37:32 UTC (rev 1328)
+++ trunk/BOOK/chapter06/sysklogd.xml	2008-01-18 21:28:33 UTC (rev 1329)
@@ -27,10 +27,10 @@
   <sect2 role="installation">
     <title>Installation of Sysklogd</title>
 
-    <para>The following patch is combined from Sysklogd-CVS, and several Linux
-    distributions, and includes numerous bug and vulnerability fixes:</para>
+    <para>The following patch works around a problem when compiling
+    Sysklogd with <option>-D_FORTIFY_SOURCE=2</option>:</para>
 
-<screen><userinput>patch -Np1 -i ../&sysklogd-community_fixes-patch;</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&sysklogd-disable__syslog_chk-patch;</userinput></screen>
 
     <para role="misc">This patch adds privilege separation for the
     <command>syslogd</command> and <command>klogd</command> daemons, so they
@@ -54,6 +54,14 @@
 install -d -m0000 /var/lib/syslogd
 install -d -m0000 /var/lib/klogd</userinput></screen>
 
+    <para>The default log file permission is 644 (writable by owner
+    and readable by everyone). This can also be changed after the
+    file is created with the <command>chmod</command> command. The
+    following command will make new files readable only by the owner
+    (usually root):</para>
+
+<screen><userinput>sed 's/644/600/' -i.orig syslogd.c</userinput></screen>
+
     <para>Compile the package:</para>
 
 <screen><userinput>make</userinput></screen>

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2008-01-18 16:37:32 UTC (rev 1328)
+++ trunk/BOOK/packages.ent	2008-01-18 21:28:33 UTC (rev 1329)
@@ -323,9 +323,9 @@
 <!ENTITY shadow-url "ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/&shadow-version;.tar.bz2">
 <!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org/">
 
-<!ENTITY sysklogd-version "1.4.1">
-<!ENTITY sysklogd-size "80 KB">
-<!ENTITY sysklogd-md5 "d214aa40beabf7bdb0c9b3c64432c774">
+<!ENTITY sysklogd-version "1.5">
+<!ENTITY sysklogd-size "88 KB">
+<!ENTITY sysklogd-md5 "e053094e8103165f98ddafe828f6ae4b">
 <!ENTITY sysklogd-url "http://www.infodrom.org/projects/sysklogd/download/sysklogd-&sysklogd-version;.tar.gz">
 <!ENTITY sysklogd-home "http://www.infodrom.org/projects/sysklogd/">
 

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2008-01-18 16:37:32 UTC (rev 1328)
+++ trunk/BOOK/patches.ent	2008-01-18 21:28:33 UTC (rev 1329)
@@ -208,13 +208,13 @@
 <!ENTITY sed-uClibc-patch-md5 "e28530daf56292b497a3b0870d421a49">
 <!ENTITY sed-uClibc-patch-size "4 KB">
 
-<!ENTITY sysklogd-community_fixes-patch "sysklogd-&sysklogd-version;-community_fixes-1.patch">
-<!ENTITY sysklogd-community_fixes-patch-md5 "6f7d319be62271d66375209c018c21d2">
-<!ENTITY sysklogd-community_fixes-patch-size "56 KB">
+<!ENTITY sysklogd-disable__syslog_chk-patch "sysklogd-&sysklogd-version;-disable__syslog_chk-1.patch">
+<!ENTITY sysklogd-disable__syslog_chk-patch-md5 "58b8e065c315d844d292c6d2712823ca">
+<!ENTITY sysklogd-disable__syslog_chk-patch-size "4 KB">
 
-<!ENTITY sysklogd-priv_sep-patch "sysklogd-&sysklogd-version;-priv_sep-2.patch">
-<!ENTITY sysklogd-priv_sep-patch-md5 "30846fb8c04d0060302d14d8c3cf5329">
-<!ENTITY sysklogd-priv_sep-patch-size "16 KB">
+<!ENTITY sysklogd-priv_sep-patch "sysklogd-&sysklogd-version;-priv_sep-1.patch">
+<!ENTITY sysklogd-priv_sep-patch-md5 "b3718983cf36e125e8d0927c7befabfa">
+<!ENTITY sysklogd-priv_sep-patch-size "12 KB">
 
 <!ENTITY uClibc-config-patch "uClibc-&uclibc-version;-config-1.patch">
 <!ENTITY uClibc-config-patch-md5 "c36fcca0bfb89ccf8619d74267763b45">




More information about the hlfs-book mailing list