From 6534cdc8bf66363b66a72e13444a19fac2df60d7 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 13 Jul 2021 15:32:56 +0200 Subject: [PATCH] Perform systemd re-exec even if glibc.i686 is installed --- glibc.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/glibc.spec b/glibc.spec index 63f165e..7e2b851 100644 --- a/glibc.spec +++ b/glibc.spec @@ -111,7 +111,7 @@ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: 41%{?dist} +Release: 42%{?dist} # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -2071,7 +2071,9 @@ end -- (5) On upgrades, restart systemd if installed. "systemctl -q" does -- not suppress the error message (which is common in chroots), so -- open-code post_exec with standard error suppressed. -if arg[2] == "2" and posix.access("%{_prefix}/bin/systemctl", "x") then +if tonumber(arg[2]) >= 2 + and posix.access("%{_prefix}/bin/systemctl", "x") +then local pid = posix.fork() if pid == 0 then posix.redirect2null(2) @@ -2220,6 +2222,9 @@ fi %files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared %changelog +* Tue Jul 13 2021 Florian Weimer - 2.33.9000-42 +- Perform systemd re-exec even if glibc.i686 is installed + * Tue Jul 13 2021 Florian Weimer - 2.33.9000-41 - Re-exec systemd on upgrades