Changeset 8ad7980 for chapter06/sysvinit.xml
- Timestamp:
- 06/19/2004 01:39:28 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/sysvinit.xml
ref57e3b r8ad7980 29 29 <title>Installation of Sysvinit</title> 30 30 31 <para>Sysvinit &sysvinit-version; contains a "buffer overflow"bug.31 <para>Sysvinit &sysvinit-version; contains a <quote>buffer overflow</quote> bug. 32 32 Under some conditions, it clobbers the 33 33 values of environment variables. Fix that:</para> 34 34 35 <screen><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-proclen-1.patch</userinput></screen> 36 35 37 <para>When run-levels are changed (for example, when halting the system), 36 38 <command>init</command> sends termination signals to those processes that … … 65 67 following:</para> 66 68 67 <screen><userinput>cat > /etc/inittab << "EOF" </userinput>69 <screen><userinput>cat > /etc/inittab << "EOF" 68 70 # Begin /etc/inittab 69 71 … … 92 94 93 95 # End /etc/inittab 94 <userinput>EOF</userinput></screen>95 96 <para> The -I '\033(K' switch tells agettyto send this escape sequence to96 EOF</userinput></screen> 97 98 <para> The <parameter>-I '\033(K'</parameter> switch tells <command>agetty</command> to send this escape sequence to 97 99 the terminal before doing anything else. This escape sequence switches the 98 100 console character set to a user-defined one, which can be modified by … … 122 124 <listitem> 123 125 <indexterm zone="ch-system-sysvinit halt"><primary sortas="b-halt">halt</primary></indexterm> 124 <para>normally invokes shutdown with the -hflag,126 <para>normally invokes <command>shutdown</command> with the <parameter>-h</parameter> flag, 125 127 except when already in run-level 0, then it tells the kernel to halt the system. 126 128 But first it notes in the file <filename>/var/log/wtmp</filename> that the … … 189 191 <indexterm zone="ch-system-sysvinit poweroff"><primary sortas="b-poweroff">poweroff</primary></indexterm> 190 192 <para>tells the kernel to halt the system and 191 switch off the computer. But see halt.</para>193 switch off the computer. But see <command>halt</command>.</para> 192 194 </listitem> 193 195 </varlistentry> … … 197 199 <listitem> 198 200 <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> 200 202 </listitem> 201 203 </varlistentry> … … 224 226 <indexterm zone="ch-system-sysvinit sulogin"><primary sortas="b-sulogin">sulogin</primary></indexterm> 225 227 <para>allows the superuser to log in. It is 226 normally invoked by initwhen the system goes into single user mode.</para>228 normally invoked by <command>init</command> when the system goes into single user mode.</para> 227 229 </listitem> 228 230 </varlistentry> … … 232 234 <listitem> 233 235 <indexterm zone="ch-system-sysvinit telinit"><primary sortas="b-telinit">telinit</primary></indexterm> 234 <para>tells initwhich run-level to enter.</para>236 <para>tells <command>init</command> which run-level to enter.</para> 235 237 </listitem> 236 238 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.