[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1110442: unblock (pre-approval) or trixie-pu: glibc/2.41-12



Package: release.debian.org
Severity: normal
X-Debbugs-Cc: glibc@packages.debian.org
Control: affects -1 + src:glibc
User: release.debian.org@packages.debian.org
Usertags: unblock

[ Reason ]
The reason for this new version is bug #1110414 which causes some
systems to die (spontaneous reboot + impossible boot) when they have
systemd-sysv installed. It is not clear at this stage if there are
additional conditions.

This is due to an improper restore of the code when fixing bug #1108193.
Thanks to Helmut for providing the fix quickly.

[ Impact ]
Without the fix systems die during bookworm to trixie upgrade.

[ Tests ]
This has been tested by Samuel Thibault:
https://salsa.debian.org/glibc-team/glibc/-/merge_requests/30#note_636051

[ Risks ]
The change is very targeted, so the risk is quite low.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]
I fully understand this arrives quite late in the release process. If it
is not possible to accept this change, please consider that as a
trixie-pu request for the next point release.

unblock glibc/2.41-12
diff --git a/debian/changelog b/debian/changelog
index 85356f8e..7301a97b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+glibc (2.41-12) unstable; urgency=medium
+
+  [ Helmut Grohne ]
+  * debian/debhelper.in/libc.postinst: Don't restart systemd when it does not
+    work.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Tue, 05 Aug 2025 19:00:45 +0200
+
 glibc (2.41-11) unstable; urgency=medium
 
   * debian/patches/git-updates.diff: update from upstream stable branch:
diff --git a/debian/debhelper.in/libc.postinst b/debian/debhelper.in/libc.postinst
index b5a84a4f..33b1062e 100644
--- a/debian/debhelper.in/libc.postinst
+++ b/debian/debhelper.in/libc.postinst
@@ -163,7 +163,7 @@ then
 	# (if systemd --help fails the system might still be quite broken but
 	# that seems better than the kernel panic that results if systemd
 	# cannot reexec itself).
-	if command -v systemd >/dev/null; then
+	if systemd --help >/dev/null 2>/dev/null; then
 	    systemctl daemon-reexec
 	else
 	    echo "Error: Could not restart systemd, systemd binary not working" >&2

Reply to: