source: general/sysutils/fcron.xml@ ceda816

10.0 10.1 11.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ceda816 was ceda816, checked in by Tushar Teredesai <tushar@…>, 16 years ago

Supress boot-install in fcron

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4704 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY fcron-download-http "http://fcron.free.fr/archives/fcron-&fcron-version;.src.tar.gz">
8 <!ENTITY fcron-download-ftp "ftp://ftp.seul.org/pub/fcron/fcron-&fcron-version;.src.tar.gz">
9 <!ENTITY fcron-md5sum "f408960f4c08ad377e61531ca48669bb">
10 <!ENTITY fcron-size "397 KB">
11 <!ENTITY fcron-buildsize "3.4 MB">
12 <!ENTITY fcron-time "0.10 SBU">
13]>
14
15<sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
16 <?dbhtml filename="fcron.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Fcron-&fcron-version;</title>
24
25 <indexterm zone="fcron">
26 <primary sortas="a-Fcron">Fcron</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Fcron</title>
31
32 <para>The <application>Fcron</application> package contains a periodical
33 command scheduler which aims at replacing <application>Vixie
34 Cron</application>.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&fcron-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &fcron-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &fcron-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &fcron-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &fcron-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">Fcron Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Optional</bridgehead>
61 <para><ulink url="../server/mail.html">MTA</ulink>,
62 <xref linkend="Linux_PAM"/>,
63 <ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>,
64 <xref linkend="docbook-utils"/> and
65 <ulink url="../postlfs/editors.html">a text editor</ulink> (default is
66 <xref linkend="vim"/>)</para>
67
68 </sect2>
69
70 <sect2 role="installation">
71 <title>Installation of Fcron</title>
72
73 <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
74 of <command>syslog</command> to log all messages. Since LFS
75 does not set up this facility in <filename>/etc/syslog.conf</filename>, it
76 needs to be done prior to installing <application>Fcron</application>. This
77 command will append the necessary line to the current
78 <filename>/etc/syslog.conf</filename>:</para>
79
80 <indexterm zone="fcron fcron-syslog">
81 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
82 </indexterm>
83
84<screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
85<literal># Begin fcron addition to /etc/syslog.conf
86
87cron.* -/var/log/cron.log
88
89# End fcron addition</literal>
90EOF</userinput></screen>
91
92 <para>The configuration file has been modified, so reloading the
93 <command>sysklogd</command> daemon will activate the changes.</para>
94
95<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
96
97 <para>For security reasons, an unprivileged user and group for
98 <application>Fcron</application> should be created:</para>
99
100<screen role="root"><userinput>groupadd -g 22 fcron &amp;&amp;
101useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron</userinput></screen>
102
103 <para>Install <application>Fcron</application> by running the following
104 commands:</para>
105
106<screen><userinput>./configure --without-sendmail --with-boot-install=no &amp;&amp;
107make</userinput></screen>
108
109 <para>This package does not come with a test suite.</para>
110
111 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para><parameter>--without-sendmail</parameter>:
121 <application>Fcron</application> will use an installed MTA
122 to email you the results of the <command>fcron</command> script. Omit the
123 switch and use
124 <option>--with-sendmail=<replaceable>[/path/to/MTA]</replaceable></option>
125 if you wish to utilize this feature.</para>
126
127 <para><parameter>--with-boot-install=no</parameter>: This prevents installation
128 of the bootscript included with the package.</para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring Fcron</title>
134
135 <sect3 id="fcron-config">
136 <title>Config Files</title>
137
138 <para><filename>/etc/fcron.conf</filename>,
139 <filename>/etc/fcron.allow</filename>, and
140 <filename>/etc/fcron.deny</filename></para>
141
142 <indexterm zone="fcron fcron-config">
143 <primary sortas="e-etc-fcron.conf">/etc/fcron.conf</primary>
144 </indexterm>
145
146 <indexterm zone="fcron fcron-config">
147 <primary sortas="e-etc-fcron.allow">/etc/fcron.allow</primary>
148 </indexterm>
149
150 <indexterm zone="fcron fcron-config">
151 <primary sortas="e-etc-fcron.deny">/etc/fcron.deny</primary>
152 </indexterm>
153
154 </sect3>
155
156 <sect3>
157 <title>Configuration Information</title>
158
159 <para>There are no required changes in any of the config files.
160 Configuration information can be found in the man page for
161 <filename>fcron.conf</filename>.</para>
162
163 <para><command>fcron</command> scripts are written using
164 <command>fcrontab</command>. Refer to the <command>fcrontab</command> man
165 page for proper parameters to address your situation.</para>
166
167 <para id="fcron-pam">If <application>Linux-PAM</application>
168 is installed, two PAM configuration files are installed in
169 <filename class='directory'>/etc/pam.d</filename>. Alternatively if
170 <filename class='directory'>/etc/pam.d</filename> is not used, the installation
171 will append two configuration sections to the exiting
172 <filename>/etc/pam.conf</filename> file. You should ensure the files match your
173 preferences. Modify them as required to suit your needs.</para>
174
175 <indexterm zone="fcron fcron-pam">
176 <primary sortas="e-etc-pam.d">/etc/pam.d/*</primary>
177 </indexterm>
178
179 <indexterm zone="fcron fcron-pam">
180 <primary sortas="e-etc-pam.conf">/etc/pam.conf</primary>
181 </indexterm>
182
183 </sect3>
184
185 <sect3 id="fcron-init">
186 <title>Boot Script</title>
187
188 <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
189 init script from the <xref linkend="intro-important-bootscripts"/>
190 package.</para>
191
192 <indexterm zone="fcron fcron-init">
193 <primary sortas="f-fcron">fcron</primary>
194 </indexterm>
195
196<screen role="root"><userinput>make install-fcron</userinput></screen>
197
198 </sect3>
199
200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Programs</segtitle>
207 <segtitle>Installed Libraries</segtitle>
208 <segtitle>Installed Directories</segtitle>
209
210 <seglistitem>
211 <seg>fcron, fcrondyn, fcronsighup, and fcrontab</seg>
212 <seg>None</seg>
213 <seg>/usr/share/doc/fcron-&fcron-version; and /var/spool/fcron</seg>
214 </seglistitem>
215 </segmentedlist>
216
217 <variablelist>
218 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
219 <?dbfo list-presentation="list"?>
220 <?dbhtml list-presentation="table"?>
221
222 <varlistentry id="fcron-prog">
223 <term><command>fcron</command></term>
224 <listitem>
225 <para>is the scheduling daemon.</para>
226 <indexterm zone="fcron fcron-prog">
227 <primary sortas="b-fcron">fcron</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="fcrondyn">
233 <term><command>fcrondyn</command></term>
234 <listitem>
235 <para>is a user tool intended to interact with a running
236 <command>fcron</command> daemon.</para>
237 <indexterm zone="fcron fcrondyn">
238 <primary sortas="b-fcrondyn">fcrondyn</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="fcronsighup">
244 <term><command>fcronsighup</command></term>
245 <listitem>
246 <para>instructs <command>fcron</command> to reread the
247 <application>Fcron</application> tables.</para>
248 <indexterm zone="fcron fcronsighup">
249 <primary sortas="b-fcronsighup">fcronsighup</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="fcrontab">
255 <term><command>fcrontab</command></term>
256 <listitem>
257 <para>is a program used to install, edit, list and remove the
258 tables used by <command>fcron</command>.</para>
259 <indexterm zone="fcron fcrontab">
260 <primary sortas="b-fcrontab">fcrontab</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 </variablelist>
266
267 </sect2>
268
269</sect1>
Note: See TracBrowser for help on using the repository browser.