Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    rffecb9e r7152faa  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4848 <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
    4949       -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
     50
     51    <!-- https://github.com/systemd/systemd/pull/30549 -->
     52    <para>Now fix a security vulnerability in the DNSSEC verification of
     53    <command>systemd-resolved</command>:</para>
     54
     55<screen><userinput remap='pre'>sed -e '/return FLAGS_SET.*AUTHENTICATED/s/(t/(dt/' \
     56    -i src/resolve/resolved-dns-transaction.c</userinput></screen>
    5057
    5158    <para>Prepare systemd for compilation:</para>
     
    6370      -Dsysusers=false              \
    6471      -Drpmmacrosdir=no             \
    65       -Dhomed=false                 \
     72      -Dhomed=disabled              \
    6673      -Duserdb=false                \
    67       -Dman=false                   \
     74      -Dman=disabled                \
    6875      -Dmode=release                \
    6976      -Dpamconfdir=no               \
    7077      -Ddev-kvm-mode=0660           \
    7178      -Dnobody-group=nogroup        \
     79      -Dsysupdate=disabled          \
     80      -Dukify=disabled              \
    7281      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    7382      ..</userinput></screen>
     
    140149
    141150      <varlistentry>
    142         <term><parameter>-D{userdb,homed}=false</parameter></term>
     151        <term><parameter>-Dhomed=disabled</parameter> and
     152        <parameter>-Duserdb=false</parameter></term>
    143153        <listitem>
    144154          <para>Remove two daemons with dependencies that do not fit
     
    148158
    149159      <varlistentry>
    150         <term><parameter>-Dman=false</parameter></term>
     160        <term><parameter>-Dman=disabled</parameter></term>
    151161        <listitem>
    152162          <para>Prevent the generation of man pages to avoid extra
     
    188198        </listitem>
    189199      </varlistentry>
     200
     201      <varlistentry>
     202        <term><parameter>-Dsysupdate=disabled</parameter></term>
     203        <listitem>
     204          <para>Do not install the <command>systemd-sysupdate</command>
     205          tool.  It's designed for automatically upgrading binary distros,
     206          so it's useless for a basic Linux system built from source.
     207          And it will report errors on boot if it's enabled but not properly
     208          configured.</para>
     209        </listitem>
     210      </varlistentry>
     211
     212      <varlistentry>
     213        <term><parameter>-Dukify=disabled</parameter></term>
     214        <listitem>
     215          <para>Do not install the <command>systemd-ukify</command> script.
     216          At runtime this script requires the
     217          <application>pefile</application> Python module that neither LFS
     218          nor BLFS provides.</para>
     219        </listitem>
     220      </varlistentry>
     221
    190222    </variablelist>
    191223
     
    214246
    215247<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
    216 
    217     <para>Disable two services for upgrading binary distros.  They are useless for
    218     a basic Linux system built from source, and each one will report an error if
    219     it's enabled but not configured:</para>
    220 
    221 <screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
    222248
    223249<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
Note: See TracChangeset for help on using the changeset viewer.