Ignore:
Timestamp:
12/31/2023 06:30:49 PM (5 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.1
Children:
289f284
Parents:
9ef0338a (diff), 6fec3f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/loongarch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    r9ef0338a rba41e17  
    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>
     
    6471      -Dsysusers=false              \
    6572      -Drpmmacrosdir=no             \
    66       -Dhomed=false                 \
     73      -Dhomed=disabled              \
    6774      -Duserdb=false                \
    6875      -Dman=false                   \
     
    7178      -Ddev-kvm-mode=0660           \
    7279      -Dnobody-group=nogroup        \
     80      -Dsysupdate=disabled          \
     81      -Dukify=disabled              \
    7382      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    7483      ..</userinput></screen>
     
    141150
    142151      <varlistentry>
    143         <term><parameter>-D{userdb,homed}=false</parameter></term>
     152        <term><parameter>-Dhomed=disabled</parameter> and
     153        <parameter>-Duserdb=false</parameter></term>
    144154        <listitem>
    145155          <para>Remove two daemons with dependencies that do not fit
     
    189199        </listitem>
    190200      </varlistentry>
     201
     202      <varlistentry>
     203        <term><parameter>-Dsysupdate=disabled</parameter></term>
     204        <listitem>
     205          <para>Do not install the <command>systemd-sysupdate</command>
     206          tool.  It's designed for automatically upgrading binary distros,
     207          so it's useless for a basic Linux system built from source.
     208          And it will report errors on boot if it's enabled but not properly
     209          configured.</para>
     210        </listitem>
     211      </varlistentry>
     212
     213      <varlistentry>
     214        <term><parameter>-Dukify=disabled</parameter></term>
     215        <listitem>
     216          <para>Do not install the <command>systemd-ukify</command> script.
     217          At runtime this script requires the
     218          <application>pefile</application> Python module that neither LFS
     219          nor BLFS provides.</para>
     220        </listitem>
     221      </varlistentry>
     222
    191223    </variablelist>
    192224
     
    215247
    216248<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
    217 
    218     <para>Disable two services for upgrading binary distros.  They are useless for
    219     a basic Linux system built from source, and each one will report an error if
    220     it's enabled but not configured:</para>
    221 
    222 <screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
    223249
    224250<!-- 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.