source: chapter06/sysvinit.xml@ c97d81d

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since c97d81d was 0a56911, checked in by Krejzi <krejzi@…>, 12 years ago

Begin adjusting book for Systemd. libcap2 is actually libcap - Debian uses strange naming for source packages. Add Sysvinit back - only few programs are needed from the package. Remove Sysklogd. Add adm group to grups in chapter06. It's necesary by something in Systemd. Change /etc/mtab to link to /proc/self/mounts. Relocate packages order.

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

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-sysvinit" role="wrap">
9 <?dbhtml filename="sysvinit.html"?>
10
11 <sect1info condition="script">
12 <productname>sysvinit</productname>
13 <productnumber>&sysvinit-version;</productnumber>
14 <address>&sysvinit-url;</address>
15 </sect1info>
16
17 <title>Sysvinit-&sysvinit-version;</title>
18
19 <indexterm zone="ch-system-sysvinit">
20 <primary sortas="a-Sysvinit">Sysvinit</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Sysvinit package contains programs for controlling the startup,
27 running, and shutdown of the system.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&sysvinit-ch6-sbu;</seg>
35 <seg>&sysvinit-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Sysvinit</title>
43
44 <para>Compile the package:</para>
45
46<screen><userinput remap="make">make -C src</userinput></screen>
47
48 <para>This package does not come with a test suite.</para>
49
50 <para>Install the package:</para>
51
52<screen><userinput remap="install">make -C src install</userinput></screen>
53
54 </sect2>
55
56 <sect2 id="contents-sysvinit" role="content">
57 <title>Contents of Sysvinit</title>
58
59 <segmentedlist>
60 <segtitle>Installed programs</segtitle>
61
62 <seglistitem>
63 <seg>fstab-decode, killall5, last,
64 lastb (link to last) and pidof
65 (link to killall5)</seg>
66 </seglistitem>
67 </segmentedlist>
68
69 <variablelist>
70 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
71 <?dbfo list-presentation="list"?>
72 <?dbhtml list-presentation="table"?>
73
74 <varlistentry id="fstab-decode">
75 <term><command>fstab-decode</command></term>
76 <listitem>
77 <para>Run a command with fstab-encoded arguments</para>
78 <indexterm zone="ch-system-sysvinit fstab-decode">
79 <primary sortas="b-fstab-decode">fstab-decode</primary>
80 </indexterm>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry id="killall5">
85 <term><command>killall5</command></term>
86 <listitem>
87 <para>Sends a signal to all processes, except the processes in its own
88 session so it will not kill the shell running the script that called
89 it</para>
90 <indexterm zone="ch-system-sysvinit killall5">
91 <primary sortas="b-killall5">killall5</primary>
92 </indexterm>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry id="last">
97 <term><command>last</command></term>
98 <listitem>
99 <para>Shows which users last logged in (and out), searching back
100 through the <filename>/var/log/wtmp</filename> file; it also shows
101 system boots, shutdowns, and run-level changes</para>
102 <indexterm zone="ch-system-sysvinit last">
103 <primary sortas="b-last">last</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 <varlistentry id="lastb">
109 <term><command>lastb</command></term>
110 <listitem>
111 <para>Shows the failed login attempts, as logged in
112 <filename>/var/log/btmp</filename></para>
113 <indexterm zone="ch-system-sysvinit lastb">
114 <primary sortas="b-lastb">lastb</primary>
115 </indexterm>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry id="pidof">
120 <term><command>pidof</command></term>
121 <listitem>
122 <para>Reports the PIDs of the given programs</para>
123 <indexterm zone="ch-system-sysvinit pidof">
124 <primary sortas="b-pidof">pidof</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 </variablelist>
130
131 </sect2>
132
133</sect1>
Note: See TracBrowser for help on using the repository browser.