Ignore:
Timestamp:
12/31/2023 09:57:54 PM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
9f894d5
Parents:
00de269 (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/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    r00de269 r2576866  
    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                \
    6774      -Dman=false                   \
     
    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
     
    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.