systemd: Fix a bug breaking systemd-verify an instantiated unit

It's breaking Git test suite (and maybe other things).
This commit is contained in:
Xi Ruoyao 2024-02-10 18:49:55 +08:00
parent e67d996022
commit fe99d50d94
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
5 changed files with 26 additions and 10 deletions

View File

@ -40,6 +40,16 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem revision='systemd'>
<para>2024-02-10</para>
<itemizedlist>
<listitem>
<para>[xry111] - Fix a bug in systemd breaking running
systemd-analyze on an instantiated systemd unit.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2024-02-02</para>
<itemizedlist>

View File

@ -294,10 +294,6 @@
<para>&bash-upstream-fixes-patch;</para>
</listitem>
<listitem>
<para>setuptools-&setuptools-version;</para>
</listitem>
<listitem>
<para>&pkgconf-upstream-fix-patch;</para>
</listitem>
@ -306,6 +302,14 @@
<para>&readline-fixes-patch;</para>
</listitem>
<listitem>
<para>setuptools-&setuptools-version;</para>
</listitem>
<listitem>
<para>&systemd-upstream-patch;</para>
</listitem>
</itemizedlist>
<itemizedlist>

View File

@ -142,15 +142,13 @@
</listitem>
</varlistentry>
<!--
<varlistentry revision="systemd">
<term>Systemd Upstream Patch - <token>&systemd-upstream-patch-size;</token>:</term>
<term>Systemd Upstream Fixes Patch - <token>&systemd-upstream-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&systemd-upstream-patch;"/></para>
<para>MD5 sum: <literal>&systemd-upstream-patch-md5;</literal></para>
</listitem>
</varlistentry>
-->
<!--
<varlistentry>
<term>Xz Upstream Fix Patch - <token>&xz-upstream-fix-patch-size;</token>:</term>

View File

@ -50,10 +50,11 @@
<!-- https://github.com/systemd/systemd/pull/30549 -->
<para>Now fix a security vulnerability in the DNSSEC verification of
<command>systemd-resolved</command>:</para>
<command>systemd-resolved</command> and a bug breaking running
<command>systemd-analyze verify</command> on an instantiated systemd
unit:</para>
<screen><userinput remap='pre'>sed -e '/return FLAGS_SET.*AUTHENTICATED/s/(t/(dt/' \
-i src/resolve/resolved-dns-transaction.c</userinput></screen>
<screen><userinput remap='pre'>patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
<para>Prepare systemd for compilation:</para>

View File

@ -38,3 +38,6 @@
<!ENTITY sysvinit-consolidated-patch-md5 "17ffccbb8e18c39e8cedc32046f3a475">
<!ENTITY sysvinit-consolidated-patch-size "2.5 KB">
<!ENTITY systemd-upstream-patch "systemd-&systemd-version;-upstream_fixes-1.patch">
<!ENTITY systemd-upstream-patch-md5 "8d9c1014445c463cf7c24c162b1e0686">
<!ENTITY systemd-upstream-patch-size "7.2 KB">