Changeset 459c449


Ignore:
Timestamp:
07/20/2014 12:26:55 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
47e9f6b0
Parents:
4da2d9f
Message:

Begin merging Christophers work into systemd branch part 3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13490 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited
5 moved

Legend:

Unmodified
Added
Removed
  • general/sysutils/acpid-systemd.xml

    r4da2d9f r459c449  
    142142
    143143    <sect3  id="acpid-init">
    144       <title>Boot Script</title>
     144      <title>Systemd Unit</title>
    145145
    146146      <para>
    147147        To automatically start <command>acpid</command> when the system is
    148         rebooted, install the <filename>/etc/rc.d/init.d/acpid</filename>
    149         boot script from the <xref linkend="bootscripts"/> package.
     148        rebooted, install the systemd unit
     149        from the <xref linkend="bootscripts"/> package.
    150150      </para>
    151151
     
    155155
    156156<screen role="root"><userinput>make install-acpid</userinput></screen>
     157
     158      <note>
     159        <para>
     160          This package uses socket based activation and will be started when
     161          something needs it. No standalone unit file is provided for this
     162          package.
     163        </para>
     164      </note>
    157165
    158166    </sect3>
  • general/sysutils/at-systemd.xml

    r4da2d9f r459c449  
    107107            --with-daemon_username=atd        \
    108108            --with-daemon_groupname=atd       \
    109             SENDMAIL=/usr/sbin/sendmail &amp;&amp;
     109            SENDMAIL=/usr/sbin/sendmail       \
     110            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    110111make -j1</userinput></screen>
    111112
     
    139140
    140141    <sect3  id="at-init">
    141       <title>Boot Script</title>
    142 
    143       <para>Install the <filename>/etc/init.d/atd</filename> init script from
    144       the <xref linkend="bootscripts"/> package.</para>
     142      <title>Systemd Unit</title>
     143
     144      <para>To start the <command>atd</command> daemon at boot,
     145      enable the previously installed systemd unit by running
     146      the following command as the
     147      <systemitem class="username">root</systemitem> user:</para>
    145148
    146149      <indexterm zone="at at-init">
     
    148151      </indexterm>
    149152
    150 <screen role="root"><userinput>make install-atd</userinput></screen>
     153<screen role="root"><userinput>systemctl enable atd</userinput></screen>
    151154
    152155    </sect3>
  • general/sysutils/autofs-systemd.xml

    r4da2d9f r459c449  
    115115
    116116./configure --prefix=/         \
     117            --with-systemd     \
    117118            --without-openldap \
    118119            --mandir=/usr/share/man &amp;&amp;
     
    136137
    137138    <para>
    138       <option>--with-libtirpc</option>: This switch enables libtirpc support if
    139       available.
     139      <option>--with-systemd</option>: This switch enables installation of the
     140      systemd units.
    140141    </para>
    141142
     
    253254      <title>Boot Script</title>
    254255
    255       <para> <application>autofs</application> installs its own boot script,
    256       but it has no capability for logging or visual conformance with other
    257       BLFS scripts.</para>
    258 
    259       <para>Install the <filename>/etc/init.d/autofs</filename> mount script
    260       included with the <xref linkend="bootscripts"/> package.</para>
     256      <para>To start the <application>Autofs</application> at boot,
     257      enable the previously installed systemd unit by running
     258      the following command as the
     259      <systemitem class="username">root</systemitem> user:</para>
     260
    261261
    262262      <indexterm zone="autofs autofs-init">
     
    264264      </indexterm>
    265265
    266 <screen role="root"><userinput>make install-autofs</userinput></screen>
    267 
    268       <para>The time-out variable is set in
    269       <filename>/etc/sysconfig/autofs.conf</filename>. The installed file sets
    270       a default of 60 seconds of inactivity before unmounting the device.  A
    271       much shorter time may be necessary to protect buffer writing to a floppy
    272       if users tend to remove the media prior to the timeout setting.</para>
     266<screen role="root"><userinput>systemctl enable autofs</userinput></screen>
     267
     268      <note>
     269        <para>
     270          You can also specify <envar>OPTIONS</envar> variable in
     271          <filename>/etc/sysconfig/autofs</filename> with  any additional
     272          parameters that you might want to pass to the automount daemon.
     273        </para>
     274      </note>
    273275
    274276    </sect3>
  • general/sysutils/bluez-systemd.xml

    r4da2d9f r459c449  
    144144            --sysconfdir=/etc     \
    145145            --localstatedir=/var  \
    146             --enable-library      \
    147             --disable-systemd     &amp;&amp;
     146            --enable-library &amp;&amp;
    148147make</userinput></screen>
    149148
     
    156155    </para>
    157156
    158 <screen role="root"><userinput>make install &amp;&amp;
    159 ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</userinput></screen>
     157<screen role="root"><userinput>make install</userinput></screen>
    160158
    161159    <para>
     
    185183      <application>BlueZ</application> 4 compatibility library which is required by
    186184      some applications.
    187     </para>
    188 
    189     <para>
    190       <parameter>--disable-systemd</parameter>: This switch is needed because
    191       <application>systemd</application> is not part of LFS/BLFS. If you are
    192       using systemd, remove this switch.
    193     </para>
    194 
    195     <para>
    196       <command>ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</command>:
    197       This command makes access to the bluetooth daemon more convenient.
    198185    </para>
    199186
     
    243230      <para>
    244231        To automatically start the <command>bluetoothd</command> daemon when the
    245         system is rebooted, install the
    246         <filename>/etc/rc.d/init.d/bluetooth</filename> bootscript from the
    247         <xref linkend="bootscripts"/> package.
     232        system is rebooted, enable the previously installed systemd unit by
     233        running the following command as the
     234        <systemitem class="username">root</systemitem> user:
    248235      </para>
    249236
     
    252239      </indexterm>
    253240
    254 <screen role="root"><userinput>make install-bluetooth</userinput></screen>
     241<screen role="root"><userinput>systemctl enable bluetooth</userinput></screen>
     242
     243      <note>
     244        <para>
     245          The bluetooth daemon will only start when a bluetooth device has been detected
     246          on the system.
     247        </para>
     248      </note>
    255249
    256250    </sect3>
  • general/sysutils/colord-systemd.xml

    r4da2d9f r459c449  
    8484    </para>
    8585
    86     <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
    87     <para role="required">
    88       <xref linkend="valgrind"/>
    89     </para>
    90 
    9186    <bridgehead renderas="sect4">Recommended</bridgehead>
    9287    <para role="recommended">
    9388      <xref linkend="libgusb"/>,
    94       <xref linkend="udev-extras"/> (for GUdev),
     89      <xref linkend="gobject-introspection"/>,
    9590      <xref linkend="polkit"/>,
    96       <xref linkend="gobject-introspection"/>, and
     91      <xref linkend="systemd"/> (for GUdev and Logind) and
    9792      <xref linkend="vala"/>
    9893    </para>
     
    106101      <xref linkend="docbook-utils"/>,
    107102      <xref linkend="gtk-doc"/>,
    108       <xref linkend="libxslt"/> and
    109       <xref linkend="sane"/>
     103      <xref linkend="libxslt"/>,
     104      <xref linkend="sane"/>, and
     105      <xref linkend="valgrind"/> (required for the tests)
    110106    </para>
    111107
     
    139135            --with-daemon-user=colord    \
    140136            --enable-vala                \
    141             --enable-systemd-login=no    \
    142137            --disable-bash-completion    \
    143138            --disable-static             \
    144             --with-systemdsystemunitdir=no &amp;&amp;
     139            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    145140make</userinput></screen>
    146141
     
    164159
    165160    <para>
    166       <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes
    167       building without <application>systemd</application>, which is not part
    168       of LFS/BLFS. If you use <application>systemd</application>,
    169       replace "no" by "yes".
    170     </para>
    171 
    172     <para>
    173161      <parameter>--with-daemon-user=colord</parameter>: This
    174162      switch is used so the <command>colord</command> daemon
     
    189177    </para>
    190178
    191     <para>
    192       <option>--disable-systemd-login</option>: This switch prevents
    193       <command>configure</command> to look for
    194       <application>Systemd</application> libraries.
    195     </para>
    196 
    197     <para>
    198       <option>--with-systemdsystemunitdir=no</option>: Disable
    199       attempting to build with systemd libraries.
    200     </para>
    201 
    202179    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    203180      href="../../xincludes/static-libraries.xml"/>
     
    212189
    213190    <para>
    214       <option>--disable-gudev</option>: Use this switch if you don't have GUdev
    215       installed.
     191      <option>--disable-gudev</option>: Use this switch if you don't have
     192      GUdev installed.
    216193    </para>
    217194
  • general/sysutils/sysutils.xml

    r4da2d9f r459c449  
    2020  installation or configuration purposes.</para>
    2121
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="acpid.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="at.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autofs.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bluez.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="colord.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="acpid-systemd.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="at-systemd.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autofs-systemd.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bluez-systemd.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="colord-systemd.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cpio.xml"/>
    2828  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>
  • introduction/important/bootscripts-systemd.xml

    r4da2d9f r459c449  
    66]>
    77
    8 <sect1 id="bootscripts" xreflabel="blfs-systemd-services-&blfs-systemd-units-version;">
    9   <?dbhtml filename="systemd-services.html"?>
     8<sect1 id="bootscripts" xreflabel="blfs-systemd-units-&blfs-bootscripts-version;">
     9  <?dbhtml filename="systemd-units.html"?>
    1010
    1111  <sect1info>
     
    1414  </sect1info>
    1515
    16   <title>BLFS Systemd Services</title>
     16  <title>BLFS Systemd Units</title>
    1717
    1818  <indexterm zone="bootscripts">
    19     <primary sortas="a-BLFS-Sytemd-Services">BLFS Systemd Services</primary>
     19    <primary sortas="a-BLFS-Sytemd-Units">BLFS Systemd Units</primary>
    2020  </indexterm>
    2121
     
    2525
    2626  <para>
    27     The BLFS Systemd Services package contains the systemd service files
     27    The BLFS Systemd Units package contains the systemd unit files
    2828    that are used throughout the book.
    2929  </para>
     
    3939
    4040  <para>
    41     The BLFS Systemd Services package will be used throughout the BLFS book
    42     for systemd service files. Each systemd service has a separate install target.
     41    The BLFS Systemd Units package will be used throughout the BLFS book
     42    for systemd unit files. Each systemd unit has a separate install target.
    4343    It is recommended you keep the package source directory around until
    44     completion of your BLFS system. When a systemd service is requested from BLFS
    45     Systemd Services, simply change to the directory and as the
     44    completion of your BLFS system. When a systemd unit is requested from BLFS
     45    Systemd Units, simply change to the directory and as the
    4646    <systemitem class="username">root</systemitem> user, execute the given
    47     <command>make install-<replaceable>&lt;systemd-service&gt;</replaceable></command>
    48     command. This command installs the systemd service to its proper location (along
     47    <command>make install-<replaceable>&lt;systemd-unit&gt;</replaceable></command>
     48    command. This command installs the systemd unit to its proper location (along
    4949    with any auxiliary configuration scripts) and also enables it by default.
    5050  </para>
     
    5252  <note>
    5353    <para>
    54       It is advisable to peruse each systemd service before installation to
     54      It is advisable to peruse each systemd unit before installation to
    5555      ascertain that it satisfies your need.
    5656    </para>
  • postlfs/security/polkit-systemd.xml

    r4da2d9f r459c449  
    8181    </para>
    8282
    83     <bridgehead renderas="sect4">Recommended</bridgehead
     83    <bridgehead renderas="sect4">Recommended</bridgehead>
    8484    <para role="recommended">
    8585      <xref linkend="linux-pam"/>
Note: See TracChangeset for help on using the changeset viewer.