Ignore:
Timestamp:
06/19/2004 01:39:28 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
f67f5cf
Parents:
ef57e3b
Message:

Tags corrections

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3812 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/sysvinit.xml

    ref57e3b r8ad7980  
    2929<title>Installation of Sysvinit</title>
    3030
    31 <para>Sysvinit &sysvinit-version; contains a "buffer overflow" bug.
     31<para>Sysvinit &sysvinit-version; contains a <quote>buffer overflow</quote> bug.
    3232Under some conditions, it clobbers the
    3333values of environment variables. Fix that:</para>
     34
    3435<screen><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-proclen-1.patch</userinput></screen>
     36
    3537<para>When run-levels are changed (for example, when halting the system),
    3638<command>init</command> sends termination signals to those processes that
     
    6567following:</para>
    6668
    67 <screen><userinput>cat &gt; /etc/inittab &lt;&lt; "EOF"</userinput>
     69<screen><userinput>cat &gt; /etc/inittab &lt;&lt; "EOF"
    6870# Begin /etc/inittab
    6971
     
    9294
    9395# End /etc/inittab
    94 <userinput>EOF</userinput></screen>
    95 
    96 <para> The -I '\033(K' switch tells agetty to send this escape sequence to
     96EOF</userinput></screen>
     97
     98<para> The <parameter>-I '\033(K'</parameter> switch tells <command>agetty</command> to send this escape sequence to
    9799the terminal before doing anything else. This escape sequence switches the
    98100console character set to a user-defined one, which can be modified by
     
    122124<listitem>
    123125<indexterm zone="ch-system-sysvinit halt"><primary sortas="b-halt">halt</primary></indexterm>
    124 <para>normally invokes shutdown with the -h flag,
     126<para>normally invokes <command>shutdown</command> with the <parameter>-h</parameter> flag,
    125127except when already in run-level 0, then it tells the kernel to halt the system.
    126128But first it notes in the file <filename>/var/log/wtmp</filename> that the
     
    189191<indexterm zone="ch-system-sysvinit poweroff"><primary sortas="b-poweroff">poweroff</primary></indexterm>
    190192<para>tells the kernel to halt the system and
    191 switch off the computer. But see halt.</para>
     193switch off the computer. But see <command>halt</command>.</para>
    192194</listitem>
    193195</varlistentry>
     
    197199<listitem>
    198200<indexterm zone="ch-system-sysvinit reboot"><primary sortas="b-reboot">reboot</primary></indexterm>
    199 <para>tells the kernel to reboot the system. But see halt.</para>
     201<para>tells the kernel to reboot the system. But see <command>halt</command>.</para>
    200202</listitem>
    201203</varlistentry>
     
    224226<indexterm zone="ch-system-sysvinit sulogin"><primary sortas="b-sulogin">sulogin</primary></indexterm>
    225227<para>allows the superuser to log in. It is
    226 normally invoked by init when the system goes into single user mode.</para>
     228normally invoked by <command>init</command> when the system goes into single user mode.</para>
    227229</listitem>
    228230</varlistentry>
     
    232234<listitem>
    233235<indexterm zone="ch-system-sysvinit telinit"><primary sortas="b-telinit">telinit</primary></indexterm>
    234 <para>tells init which run-level to enter.</para>
     236<para>tells <command>init</command> which run-level to enter.</para>
    235237</listitem>
    236238</varlistentry>
Note: See TracChangeset for help on using the changeset viewer.