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

Bug#1108484: marked as done (unblock: initramfs-tools/0.148.3)



Your message dated Mon, 30 Jun 2025 20:02:50 +0000
with message-id <E1uWKiI-002iAO-22@respighi.debian.org>
and subject line unblock initramfs-tools
has caused the Debian Bug report #1108484,
regarding unblock: initramfs-tools/0.148.3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1108484: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108484
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: initramfs-tools@packages.debian.org, debian-kernel@lists.debian.org
Control: affects -1 + src:initramfs-tools
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package initramfs-tools

[ Reason ]
An optimisation to avoid redundant initramfs updates turned out not to
be entirely correct.

[ Impact ]
The initramfs is not always updated after a package triggers an
update.  Depending on when this happenes, this could result in boot
failure, security updates not being applied to the initramfs, or
cosmetic changes missing.

[ Tests ]
Many boot configurations are covered by autopkgtests.  There isn't a
specific test for the operation of triggers.

[ Risks ]
This reverts trigger handling to the simpler version used in earlier
versions (including in bullseye and bookworm), so there is nothing new
being introduced.  The only risk I see is that some users or tests may
have started relying on the faster operation since v0.147.

[ 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 ]

unblock initramfs-tools/0.148.3
Binary files /var/tmp/PvhhGc6rjC/initramfs-tools-0.148.2/copy_file and /var/tmp/7djNuEGYrC/initramfs-tools-0.148.3/copy_file differ
diff -Nru initramfs-tools-0.148.2/debian/changelog initramfs-tools-0.148.3/debian/changelog
--- initramfs-tools-0.148.2/debian/changelog	2025-06-13 00:55:37.000000000 +0200
+++ initramfs-tools-0.148.3/debian/changelog	2025-06-29 14:08:36.000000000 +0200
@@ -1,3 +1,11 @@
+initramfs-tools (0.148.3) unstable; urgency=medium
+
+  [ Benjamin Drung ]
+  * [e3f4fb4] Revert "Avoid updating the initramfs twice for some cases"
+    (Closes: #1108204)
+
+ -- Ben Hutchings <benh@debian.org>  Sun, 29 Jun 2025 14:08:36 +0200
+
 initramfs-tools (0.148.2) unstable; urgency=medium
 
   [ Benjamin Drung ]
diff -Nru initramfs-tools-0.148.2/debian/initramfs-tools.postinst initramfs-tools-0.148.3/debian/initramfs-tools.postinst
--- initramfs-tools-0.148.2/debian/initramfs-tools.postinst	2025-05-13 05:22:04.000000000 +0200
+++ initramfs-tools-0.148.3/debian/initramfs-tools.postinst	2025-06-29 13:53:22.000000000 +0200
@@ -7,13 +7,8 @@
 	# this activates the trigger, if triggers are working
 	update-initramfs -u
 else
-	# The /run/update-initramfs.dpkg-trigger file is just a workaround.
-	# The timestamp should be provided directly by the dpkg trigger.
-	# See https://bugs.debian.org/1099136
-	timestamp=$(stat -c %Y /run/update-initramfs.dpkg-trigger 2>/dev/null || true)
-	# force it to actually happen (if not already updated since activation)
-	DPKG_MAINTSCRIPT_PACKAGE='' update-initramfs -u -s "$timestamp"
-	rm -f /run/update-initramfs.dpkg-trigger
+	# force it to actually happen
+	DPKG_MAINTSCRIPT_PACKAGE='' update-initramfs -u
 fi
 
 #DEBHELPER#
diff -Nru initramfs-tools-0.148.2/update-initramfs initramfs-tools-0.148.3/update-initramfs
--- initramfs-tools-0.148.2/update-initramfs	2025-05-13 05:22:04.000000000 +0200
+++ initramfs-tools-0.148.3/update-initramfs	2025-06-29 13:53:22.000000000 +0200
@@ -14,10 +14,6 @@
 if [ -n "$DPKG_MAINTSCRIPT_PACKAGE" ] && [ $# = 1 ] && [ "$1" = -u ]; then
 	if dpkg-trigger --no-await update-initramfs; then
 		echo "update-initramfs: deferring update (trigger activated)"
-		# The /run/update-initramfs.dpkg-trigger file is just a workaround.
-		# The timestamp should be provided directly by the dpkg trigger.
-		# See https://bugs.debian.org/1099136
-		touch /run/update-initramfs.dpkg-trigger
 		exit 0
 	fi
 fi

--- End Message ---
--- Begin Message ---
Unblocked initramfs-tools.

--- End Message ---

Reply to: