From fe99d50d949255dbb5a9f28d9fcbaa05b4bc55a2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 10 Feb 2024 18:49:55 +0800 Subject: [PATCH] systemd: Fix a bug breaking systemd-verify an instantiated unit It's breaking Git test suite (and maybe other things). --- chapter01/changelog.xml | 10 ++++++++++ chapter01/whatsnew.xml | 12 ++++++++---- chapter03/patches.xml | 4 +--- chapter08/systemd.xml | 7 ++++--- patches.ent | 3 +++ 5 files changed, 26 insertions(+), 10 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index fa7fc12c4..0a646f658 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,16 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2024-02-10 + + + [xry111] - Fix a bug in systemd breaking running + systemd-analyze on an instantiated systemd unit. + + + + 2024-02-02 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 5faf938b7..f7b9ed05c 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -294,10 +294,6 @@ &bash-upstream-fixes-patch; - - setuptools-&setuptools-version; - - &pkgconf-upstream-fix-patch; @@ -306,6 +302,14 @@ &readline-fixes-patch; + + setuptools-&setuptools-version; + + + + &systemd-upstream-patch; + + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index f05fbd604..c48e2ce0e 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -142,15 +142,13 @@ - Now fix a security vulnerability in the DNSSEC verification of - systemd-resolved: + systemd-resolved and a bug breaking running + systemd-analyze verify on an instantiated systemd + unit: -sed -e '/return FLAGS_SET.*AUTHENTICATED/s/(t/(dt/' \ - -i src/resolve/resolved-dns-transaction.c +patch -Np1 -i ../&systemd-upstream-patch; Prepare systemd for compilation: diff --git a/patches.ent b/patches.ent index a6e3a306e..b10f24414 100644 --- a/patches.ent +++ b/patches.ent @@ -38,3 +38,6 @@ + + +