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

Bug#690285: marked as done (unblock: amd64-microcode/1.20120910-2)



Your message dated Sat, 3 Nov 2012 20:42:09 +0100
with message-id <[🔎] 20121103194209.GA930@spike.0x539.de>
and subject line Re: Freeze exception request for intel-microcode and amd64-microcode
has caused the Debian Bug report #690285,
regarding unblock: amd64-microcode/1.20120910-2
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.)


-- 
690285: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690285
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package amd64-microcode

Unfortunately, both amd64-microcode and intel-microcode can trigger a very
nasty bug in initramfs-tools that renders the initramfs unusable, and
therefore may make the system unbootable.

It will only happen when initramfs-tools is incapable of creating ORDER
files (e.g. because of noexec $TMPDIR or noexec /tmp with $TMPDIR unset),
so it should be pretty rare.  But still, the consequences are dire...
kinda like some of the processor errata the packages fix, I suppose :-)

This has bitten an user of intel-microcode.  Please refer to bug #689301
and #688794.

This upload works around the bug in initramfs-tools, which is the safest
way to go about it (especially considering backports).

debdiff attached.  diffstat:
 changelog               |    9 +++++++++
 initramfs.init-premount |    2 +-
 rules                   |    7 +++++--
 3 files changed, 15 insertions(+), 3 deletions(-)

unblock amd64-microcode/1.20120910-2

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.31+ (SMP w/8 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
diff -Nru amd64-microcode-1.20120910/debian/changelog amd64-microcode-1.20120910/debian/changelog
--- amd64-microcode-1.20120910/debian/changelog	2012-09-14 16:50:50.000000000 -0300
+++ amd64-microcode-1.20120910/debian/changelog	2012-10-09 08:18:25.000000000 -0300
@@ -1,3 +1,12 @@
+amd64-microcode (1.20120910-2) unstable; urgency=medium
+
+  * initramfs: work around initramfs-tools bug #688794.
+    Use "_" in place of "+-." for the initramfs script name.  This works
+    around a PANIC during boot when the initramfs was created in a system
+    with noexec $TMPDIR.
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org>  Tue, 09 Oct 2012 08:18:01 -0300
+
 amd64-microcode (1.20120910-1) unstable; urgency=medium
 
   * AMD microcode release 20120910
diff -Nru amd64-microcode-1.20120910/debian/initramfs.init-premount amd64-microcode-1.20120910/debian/initramfs.init-premount
--- amd64-microcode-1.20120910/debian/initramfs.init-premount	2012-09-14 12:27:31.000000000 -0300
+++ amd64-microcode-1.20120910/debian/initramfs.init-premount	2012-10-09 08:17:36.000000000 -0300
@@ -9,7 +9,7 @@
 
 # dependencies: firmware loader, microcode kernel support (built-in/module)
 
-PREREQ="udev"
+PREREQ=""
 
 prereqs()
 {
diff -Nru amd64-microcode-1.20120910/debian/rules amd64-microcode-1.20120910/debian/rules
--- amd64-microcode-1.20120910/debian/rules	2012-09-14 12:27:31.000000000 -0300
+++ amd64-microcode-1.20120910/debian/rules	2012-10-09 08:17:36.000000000 -0300
@@ -10,6 +10,9 @@
 # DebHelper control
 export DH_ALWAYS_EXCLUDE=CVS:.svn:.git
 
+# Work around Debian bug #688794
+INITRAMFS_NAME := $(subst -,_,$(subst +,_,$(subst .,_,$(PACKAGE))))
+
 build-indep:
 
 build-arch:
@@ -30,10 +33,10 @@
 
 	mkdir -p "$(PKGDIR)/usr/share/initramfs-tools/hooks"
 	install -m 755 "$(DEBDIR)/initramfs.hook" \
-		"$(PKGDIR)/usr/share/initramfs-tools/hooks/$(PACKAGE)"
+		"$(PKGDIR)/usr/share/initramfs-tools/hooks/$(INITRAMFS_NAME)"
 	mkdir -p "$(PKGDIR)/usr/share/initramfs-tools/scripts/init-premount"
 	install -m 755 "$(DEBDIR)/initramfs.init-premount" \
-		"$(PKGDIR)/usr/share/initramfs-tools/scripts/init-premount/$(PACKAGE)"
+		"$(PKGDIR)/usr/share/initramfs-tools/scripts/init-premount/$(INITRAMFS_NAME)"
 
 binary: install
 	dh_testdir

--- End Message ---
--- Begin Message ---
Hi,

On Fri, Nov 02, 2012 at 12:06:38AM -0200, Henrique de Moraes Holschuh wrote:
> I did!  The bug numbers mentioned in the "please consider unblocking"
> sentence are the bug numbers of the unblock request bugs (#690285 and #690286).

sorry, I mentally took them for references to the bugs in the packages.
That mail should then have been sent to the two bugs instead of d-release.

Both are now unblocked, thanks for your work!

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: