cvs commit: LFS/BOOK/chapter07 console.xml bootscripts.xml chapter07.xml loadkeys.xml

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Tue May 4 16:22:10 PDT 2004


winkie      04/05/04 17:22:10

  Modified:    BOOK     TODO general.ent
               BOOK/chapter01 changelog.xml
               BOOK/chapter03 packages.xml
               BOOK/chapter06 pwdgroup.xml
               BOOK/chapter07 bootscripts.xml chapter07.xml
  Added:       BOOK/chapter07 console.xml
  Removed:     BOOK/chapter07 loadkeys.xml
  Log:
   - Add 'utmp' group
   - Upgraded to latest bootscripts to support utmp group
  
  Revision  Changes    Path
  1.97      +0 -4      LFS/BOOK/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/TODO,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- TODO	4 May 2004 00:01:14 -0000	1.96
  +++ TODO	4 May 2004 23:22:10 -0000	1.97
  @@ -1,8 +1,4 @@
    - Mention --enable-kernel=... where appropriate.
  - - Create and use the 'utmp' group, and explain to the user how to use it to
  -   improve the security of things that write to utmp, such as terminal
  -   emulators.
  - - Move passwd to /bin.
    - Mention --enable-multibyte when building vim.
    - POSIX compliance patches (aka, removing the coreutils hack).
    - Upgraded to a glibc that supports POSIX message queues.
  
  
  
  1.7       +1 -1      LFS/BOOK/general.ent
  
  Index: general.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/general.ent,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- general.ent	4 May 2004 17:32:06 -0000	1.6
  +++ general.ent	4 May 2004 23:22:10 -0000	1.7
  @@ -21,7 +21,7 @@
   <!ENTITY bash-version "2.05b">
   <!ENTITY binutils-version "2.15.90.0.3">
   <!ENTITY bison-version "1.875a">
  -<!ENTITY bootscripts-version "2.0.4">
  +<!ENTITY bootscripts-version "2.1.0">
   <!ENTITY bzip2-version "1.0.2">
   <!ENTITY coreutils-version "5.2.1">
   <!ENTITY dejagnu-version "1.4.4">
  
  
  
  1.747     +6 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.746
  retrieving revision 1.747
  diff -u -r1.746 -r1.747
  --- changelog.xml	4 May 2004 21:42:57 -0000	1.746
  +++ changelog.xml	4 May 2004 23:22:10 -0000	1.747
  @@ -92,6 +92,12 @@
   </itemizedlist>
   </listitem>
   
  +<listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Create and use the
  +<quote>utmp</quote> group.</para></listitem>
  +
  +<listitem><para>May 4th, 2004 [winkie]: Chapter 7 - Upgraded to LFS-Bootscripts
  +2.1.0 and modify the book to work with it.</para></listitem>
  +
   <listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Install the
   <quote>passwd</quote> binary in /bin instead of /usr/bin.</para></listitem>
   
  
  
  
  1.3       +1 -1      LFS/BOOK/chapter03/packages.xml
  
  Index: packages.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter03/packages.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- packages.xml	3 May 2004 21:28:56 -0000	1.2
  +++ packages.xml	4 May 2004 23:22:10 -0000	1.3
  @@ -89,7 +89,7 @@
   <ulink url="&freshmeat;less/"/>
   
   LFS-Bootscripts (&bootscripts-version;) - 32 KB:
  -<ulink url="http://www.linuxfromscratch.org/~nathan/"/>
  +<ulink url="&http-down;"/>
   
   Libtool (&libtool-version;) - 2,602 KB:
   <ulink url="&freshmeat;libtool/"/>
  
  
  
  1.26      +3 -1      LFS/BOOK/chapter06/pwdgroup.xml
  
  Index: pwdgroup.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/pwdgroup.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- pwdgroup.xml	3 May 2004 21:28:57 -0000	1.25
  +++ pwdgroup.xml	4 May 2004 23:22:10 -0000	1.26
  @@ -46,6 +46,7 @@
   dialout:x:10:
   audio:x:11:
   video:x:12:
  +utmp:x:13:
   <userinput>EOF</userinput></screen>
   
   <para>The created groups aren't part of any standard -- they are some of the
  @@ -79,7 +80,8 @@
   exist. Initialize the log files and give them their proper permissions:</para>
   
   <screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
  -chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen>
  +chgrp utmp /var/run/utmp /var/log/lastlog
  +chmod 664 /var/run/utmp /var/log/lastlog</userinput></screen>
   
   <para>The <filename>/var/run/utmp</filename> file records the users that are
   currently logged in. The <filename>/var/log/wtmp</filename> file records all
  
  
  
  1.7       +0 -4      LFS/BOOK/chapter07/bootscripts.xml
  
  Index: bootscripts.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter07/bootscripts.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- bootscripts.xml	3 May 2004 21:28:58 -0000	1.6
  +++ bootscripts.xml	4 May 2004 23:22:10 -0000	1.7
  @@ -25,10 +25,6 @@
   
   <screen><userinput>make install</userinput></screen>
   
  -<para>Since we're using Udev, install the support script for it:</para>
  -
  -<screen><userinput>make install-udev</userinput></screen>
  -
   </sect2>
   
   
  
  
  
  1.19      +1 -1      LFS/BOOK/chapter07/chapter07.xml
  
  Index: chapter07.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter07/chapter07.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- chapter07.xml	3 May 2004 21:28:58 -0000	1.18
  +++ chapter07.xml	4 May 2004 23:22:10 -0000	1.19
  @@ -12,7 +12,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootscripts.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="usage.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="setclock.xml"/>
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="loadkeys.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="console.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysklogd.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hostname.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hosts.xml"/>
  
  
  
  1.1                  LFS/BOOK/chapter07/console.xml
  
  Index: console.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-scripts-console">
  <title>Do I need the console script?</title>
  <?dbhtml filename="console.html"?>
  
  <indexterm zone="ch-scripts-console">
  <primary sortas="d-console">console</primary>
  <secondary>configuring</secondary></indexterm>
  
  <para>If you plan to compile the keymap directly in the kernel during <xref
  linkend="chapter-bootable"/> (see <xref linkend="ch-system-kbd"/>), then strictly
  speaking you don't need to run this loadkeys script, since the kernel will set
  up the keymap for you. If you wish, you can still run the script, it isn't going
  to hurt you. Keeping it could even be beneficial, in case you run a lot of
  different kernels and can't be sure that the keymap is compiled into every one
  of them.</para>
  
  <para>If you decided you don't need or don't want to use the console script,
  remove the <filename class="symlink">/etc/rc.d/rcsysinit.d/S70console</filename> symlink.</para>
  
  </sect1>
  
  
  



More information about the lfs-book mailing list