Changeset 60b5b0b


Ignore:
Timestamp:
07/09/2014 12:16:01 PM (10 years ago)
Author:
Christopher Gregory <cjg@…>
Branches:
gnome
Children:
4d66725
Parents:
65669e5
Message:

Updated systemd page

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r65669e5 r60b5b0b  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "07">                   <!-- Always 2 digits -->
     3<!ENTITY day          "09">                   <!-- Always 2 digits -->
    44<!ENTITY month        "07">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2014">
  • general/sysutils/systemd.xml

    r65669e5 r60b5b0b  
    3030  <title>Introduction to Systemd</title>
    3131
    32     <para>The systemd package was installed as part of the LFS-Systemd.  However not
    33     all components were installed due to dependencies that were unavailable.
    34     This procedure adds those missing components.</para>
     32    <para>This part contains instructions on how to build systemd package with
     33    more features and why some features are required.
     34    </para>
    3535
    3636    <!-- &lfs75_checked; -->
    3737
    3838    <bridgehead renderas="sect3">Package Information</bridgehead>
     39     <warning>
     40      <para>
     41         It is important that you use the _same_ version of systemd as it was used in LFS build.
     42      </para>
     43      </warning>
     44
    3945    <itemizedlist spacing="compact">
    4046      <listitem>
     
    6470      <xref linkend="glib2"/>,
    6571      <xref linkend="gobject-introspection"/>,
    66       <xref linkend="linux-pam"/>, and
    67       <xref linkend="libgcrypt"/>
     72      <xref linkend="linux-pam"/>
    6873    </para>
    6974
    7075    <bridgehead renderas="sect4">Optional Dependencies</bridgehead>
    7176    <para role="optional">
     77      <xref linkend="libgcrypt"/> (see note below), and
    7278      <xref linkend="gtk-doc"/> (to rebuild the documentation)
    7379    </para>
     
    7884      <xref linkend="usbutils"/>
    7985    </para>
     86
     87    <note>
     88    <para>
     89    Having the first two packages at build time results in:
     90
     91    libgudev-1.0.so in /usr/lib, /usr/include/gudev-1.0 directory, GUdev-1.0.
     92    {typelib,gir} GObject-Introspection bindings in /usr/lib/girepository-1.0
     93    and /usr/share/gir-1.0 respectively.
     94
     95    Since GLib2 has a dependency on Python, systemd Python bindings were also installed in:
     96
     97    /usr/lib/python2.7/site-packages/systemd
     98
     99    Having the Linux-PAM package at build time results in:
     100
     101    pam_systemd.so in /lib/security, a PAM module used to register logins/logouts with systemd-logind component.
     102 
     103    This is required by anything that now requires ConsoleKit (desktops, mostly), as well as some other software.
     104     </para>
     105     </note>
    80106
    81107    <para condition="html" role="usernotes">User Notes:
     
    143169
    144170<screen><userinput>make -k check</userinput></screen>
    145 
     171    <note>
    146172    <para>For full test coverage, the test suite should be run
    147     from a system booted using systemd.</para>
    148 
     173    from a system booted using systemd.
     174    </para>
     175    </note>
     176    <warning>
    149177    <para>Installing the package will override all systemd components installed in LFS,
    150    so it is advised that the re-installation is done in a rescue mode with no programs except basic
    151    systemd ones running. To enter rescue mode with systemd, issue this as the <systemitem class="username">root</systemitem>
    152    from a VT console:</para>
    153 
     178    so it is advised that the re-installation is done in a rescue mode with no programs except basic
     179    systemd ones running. To enter rescue mode with systemd, issue this as the <systemitem class="username">root</systemitem>
     180    from a VT console:
     181    </para>
     182    </warning>
    154183<screen role="root"><userinput>systemctl start rescue.target</userinput></screen>
    155184
     
    168197<screen><userinput>rm -rfv /usr/lib/rpm</userinput></screen>
    169198
    170     <para>Create the Sysvinit compatibility symlinks, so systemd is used
    171     as the default init system:</para>
    172 
    173 <screen><userinput>for tool in runlevel reboot shutdown poweroff halt telinit; do
    174      ln -sfv ../bin/systemctl /sbin/${tool}
    175 done
    176 ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
    177 
    178199    <para>Remove a reference to a non-existent group:</para>
    179200
    180201<screen><userinput>sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
    181202
     203    <warning>
    182204    <para>WARNING do NOT run the systemd-machine-id-setup command again,
    183205    UUID was generated once and as its name says,
     
    185207    journald and who knows what else.
    186208    </para>
     209    </warning>
     210
     211    <note>
     212    <para>If libgcrypt was present at build time, make sure you move both libgpg-error and
     213    libgcrypt versioned libraries to /lib so that they are
     214    available in case of separate /usr  by
     215    issuing the following commands as the <systemitem class="username">root</systemitem>
     216    user:
     217
     218<screen role="root"><userinput>mv -v /usr/lib/libgcrypt.so.* /usr/lib/libgpg-error.so.* /lib
     219ln -sfv ../../lib/$(readlink /usr/lib/libgcrypt.so) /usr/lib/libgcrypt.so
     220ln -sfv ../../lib/$(readlink /usr/lib/libgpg-error.so) /usr/lib/libgpg-error.so</userinput></screen></para></note>   
    187221
    188222    <para>If the pam_systemd.so PAM module was built, the system-sesion
  • introduction/welcome/changelog.xml

    r65669e5 r60b5b0b  
    4444
    4545-->
     46    <listitem>
     47      <para>July 9th, 2014</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[cjg] - Modified systemd page.</para>
     51        </listitem>
     52        <listitem>
     53          <para>[cjg] - Another changelog entry.</para>
     54        </listitem>
     55      </itemizedlist>
     56    </listitem>
     57
    4658    <listitem>
    4759      <para>July 7th, 2014</para>
Note: See TracChangeset for help on using the changeset viewer.