Changeset c8010baf


Ignore:
Timestamp:
03/02/2003 03:40:15 PM (19 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 6.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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
8d1f2a55
Parents:
a5c73e0
Message:

daemontools inst corrections

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • basicnet/djb/daemontools/daemontools-exp.xml

    ra5c73e0 rc8010baf  
    44<para>The first thing to understand in installing any package written
    55by Daniel J. Bernstein, and
    6 this includes Qmail, djbdns and ucspi-tcp in addition to daemontools, is
     6this includes qmail, djbdns and ucspi-tcp in addition to daemontools, is
    77that he is willing to completely disregard standards if his idea of the
    88correct thing to do differs from an particular standard. Professor
     
    2222compiles the source and puts the binaries in a command directory.</para>
    2323
     24<para>Since we are installing the binaries in /usr/sbin rather than creating
     25a non-standard /command directory, several paths have to be changed:</para>
    2426<para><screen><userinput>sed 's|command|usr/sbin|' boot.inittab &gt; boot.inittab~</userinput>
    2527<userinput>mv boot.inittab~ boot.inittab</userinput></screen></para>
    26 <para>These two commands are necessary to get the
    27 binaries installed in /usr/sbin rather than
    28 creating a non-standard /command directory and installing them there.
    29 </para>
     28<para>In boot.inittab, /command/svscanboot is changed to /usr/sbin/svscanboot.</para>
    3029
    31 <para><screen><userinput>sed 's|/command:/usr/local/bin:/usr/local/sbin:||' svscanboot &gt; svscanboot~</userinput>
    32 <userinput>sed 's|/service|/etc/service|g' svscanboot~ &gt; svscanboot</userinput>
    33 <userinput>rm svscanboot~</userinput></screen></para>
    34 <para>This changes the svscanboot script so that it checks the
    35 /etc/service directory for daemons to run instead of the default
    36 /service directory.</para>
     30<para><screen><userinput>sed -e 's|/command:/usr/local/bin:/usr/local/sbin:||' \</userinput>
     31<userinput>    -e 's|command|usr/sbin|' \</userinput>
     32<userinput>    -e 's|/service|/etc/service|g' svscanboot &gt; svscanboot~ &amp;&amp;</userinput></screen></para>
     33<para>Here various paths are adjusted in the svscanboot script. In our setup svscan
     34will check the /etc/service directory instead of the /service directory for
     35daemons to run.</para>
    3736
    3837<para><userinput>cp * /usr/sbin: </userinput>We must manually copy the
     
    4241<userinput>mv -f /etc/inittab~ /etc/inittab</userinput></screen></para>
    4342
    44 <para>These commands append a line to /etc/inittab so that init will launch
    45 the svscan program.</para>
     43<para>These commands append a line to /etc/inittab so that init will launch
     44the svscanboot script.</para>
     45
     46<para><userinput>mkdir /etc/service: </userinput>This command creates
     47the daemontools control directory, which - even if empty - needs to exist for
     48daemontools to run properly.</para>
    4649
    4750<para><userinput>telinit Q: </userinput>This command tells the init
    4851process to re-read its configuration file (inittab) and act upon any
    49 changes that have been made.</para>
     52changes that have been made. The svscanboot script is started.</para>
    5053
    51 <para><userinput>mkdir /etc/service: </userinput>This command creates
    52 the daemontools control directory, which needs to exist, even if empty
    53 for daemontools to run properly.</para>
    5454
    5555</sect2>
  • basicnet/djb/daemontools/daemontools-inst.xml

    ra5c73e0 rc8010baf  
    1010mv boot.inittab~ boot.inittab &amp;&amp;
    1111cd ../command &amp;&amp;
    12 sed 's|/command:/usr/local/bin:/usr/local/sbin:||' svscanboot &gt; svscanboot~ &amp;&amp;
    13 sed 's|/service|/etc/service|g' svscanboot~ &gt; svscanboot &amp;&amp;
    14 rm svscanboot~ &amp;&amp;
     12sed -e 's|/command:/usr/local/bin:/usr/local/sbin:||' \
     13    -e 's|command|usr/sbin|' \
     14    -e 's|/service|/etc/service|g' svscanboot &gt; svscanboot~ &amp;&amp;
     15mv svscanboot~ svscanboot &amp;&amp;
     16chmod 555 svscanboot &amp;&amp;
    1517cp * /usr/sbin &amp;&amp;
    1618cd ../package &amp;&amp;
    1719cat /etc/inittab boot.inittab &gt; /etc/inittab~ &amp;&amp;
    1820mv -f /etc/inittab~ /etc/inittab &amp;&amp;
    19 telinit Q &amp;&amp;
    20 mkdir /etc/service</userinput></screen></para>
     21mkdir /etc/service &amp;&amp;
     22telinit Q</userinput></screen></para>
     23
    2124</sect2>
    2225
  • basicnet/djb/daemontools/daemontools-intro.xml

    ra5c73e0 rc8010baf  
    99
    1010<para>The daemontools package is a replacement for inetd or xinetd. The main
    11 reason for using it here is because it's recommended for use with Qmail
     11reason for using it here is because it is recommended for use with qmail
    1212and djbdns.</para>
    1313
  • index.xml

    ra5c73e0 rc8010baf  
    33                        "/usr/share/docbook/docbookx.dtd" [
    44
    5 <!ENTITY version "20030301">
    6 <!ENTITY releasedate "March 1st, 2003">
     5<!ENTITY version "20030302">
     6<!ENTITY releasedate "March 2nd, 2003">
    77
    88<!ENTITY % book SYSTEM "book/book.ent">
  • introduction/welcome/changelog.xml

    ra5c73e0 rc8010baf  
    1111<itemizedlist>
    1212
     13<listitem><para>March 2nd, 2003 [larry]: DJB's: corrections to
     14daemontools install instructions, submitted by Sefan
     15Krah.</para></listitem>
     16
    1317<listitem><para>March 1st, 2003 [larry]: basicnet: corrections to
    14 inetutils install instructions, submitted by James.</para></listitem>
     18inetutils install instructions, submitted by Jamesi Iwanek.</para></listitem>
    1519
    1620<listitem><para>March 1st, 2003 [larry]: multimedia: appled James'
Note: See TracChangeset for help on using the changeset viewer.