Browse Source

Fixed a rather insidious little bug in Udev

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3832 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Zack Winkles 21 năm trước cách đây
mục cha
commit
95f485ae6b
4 tập tin đã thay đổi với 21 bổ sung3 xóa
  1. 5 0
      chapter01/changelog.xml
  2. 7 0
      chapter03/patches.xml
  3. 7 1
      chapter06/udev.xml
  4. 2 2
      general.ent

+ 5 - 0
chapter01/changelog.xml

@@ -57,7 +57,9 @@ first a summary, then a detailed log.</para>
 <listitem><para>sysklogd-1.4.1-signal-1.patch</para></listitem>
 <listitem><para>sysvinit-2.85-proclen-1.patch</para></listitem>
 <listitem><para>udev-027</para></listitem>
+<listitem><para>udev-027-permissions-1.patch</para></listitem>
 <listitem><para>udev-config-1.permissions</para></listitem>
+<listitem><para>udev-config-1.rules</para></listitem>
 <listitem><para>util-linux-2.12a-kernel_headers-1.patch</para></listitem>
 <listitem><para>vim-6.3 language files</para></listitem>
 </itemizedlist>
@@ -76,6 +78,9 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>June 21, 2004 [winkie]: Added the Udev permissions patch to fix
+a regression from version 023 (really nasty bug, too).</para></listitem>
+
 <listitem><para>June 20, 2004 [matt]: chapter07 - console.  Add a note regarding
 the screen font not being set automatically when the console script isn't run.
 (Alexander Patrakov)</para></listitem>

+ 7 - 0
chapter03/patches.xml

@@ -159,6 +159,13 @@ following:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Udev Permissions Patch - 3 KB:</term>
+<listitem>
+<para><ulink url="&patches-root;udev-&udev-version;-permissions-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>Util-Linux Kernel Headers Patch - 3 KB:</term>
 <listitem>

+ 7 - 1
chapter06/udev.xml

@@ -22,7 +22,13 @@
 <sect2 role="installation">
 <title>Installation of Udev</title>
 
-<para>First compile Udev:</para>
+<para>Begin by fixing an issue by which Udev ignores the contents of its
+permissions configuration file, and instead makes certain nodes (in particular
+<filename>/dev/null</filename>) usable only by root.</para>
+
+<screen><userinput>patch -Np1 -i ../udev-027-permissions-1.patch</userinput></screen>
+
+<para>Now compile Udev:</para>
 
 <screen><userinput>make udevdir=/dev</userinput></screen>
 

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "CVS-20040620">
-<!ENTITY releasedate "June 20, 2004">
+<!ENTITY version "CVS-20040621">
+<!ENTITY releasedate "June 21, 2004">
 <!ENTITY milestone "6.0">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">