Wrong efivars magic in sbkeysync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbsigntool (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
efivars magic is incorrect in sbkeysync
commit 951ee95a301674c
diff --git a/src/sbkeysync.c b/src/sbkeysync.c
index 011004a..a63d3b8 100644
--- a/src/sbkeysync.c
+++ b/src/sbkeysync.c
@@ -56,7 +56,8 @@
#include "efivars.h"
#define EFIVARS_MOUNTPOINT "/sys/firmware/
-#define EFIVARS_FSTYPE 0x6165676C
+#define PSTORE_FSTYPE 0x6165676C
+#define EFIVARS_FSTYPE 0xde5e81e4
#define EFI_IMAGE_
{ 0xd719b2cb, 0x3d3a, 0x4596, \
@@ -533,7 +534,7 @@ static int check_efivars_
if (rc)
- if (statbuf.f_type != EFIVARS_FSTYPE)
+ if (statbuf.f_type != EFIVARS_FSTYPE && statbuf.f_type != PSTORE_FSTYPE)
return 0;
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: sbsigntool 0.6-0ubuntu5
ProcVersionSign
Uname: Linux 3.12.0-4-generic x86_64
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Dec 3 15:28:06 2013
SourcePackage: sbsigntool
UpgradeStatus: Upgraded to trusty on 2012-01-31 (671 days ago)
Related branches
- Michael Terry: Approve
-
Diff: 1070 lines (+1014/-2)6 files modified.pc/add_corrected_efivars_magic.patch/src/sbkeysync.c (+979/-0)
.pc/applied-patches (+1/-0)
debian/changelog (+7/-0)
debian/patches/add_corrected_efivars_magic.patch (+23/-0)
debian/patches/series (+1/-0)
src/sbkeysync.c (+3/-2)
Changed in sbsigntool (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
This bug was fixed in the package sbsigntool - 0.6-0ubuntu6
---------------
sbsigntool (0.6-0ubuntu6) trusty; urgency=low
* debian/ patches/ add_corrected_ efivars_ magic.patch: Cherry-picked upstream
fix to add corrected efivars magic (LP: #1257305)
-- Jean-Baptiste Lallement <email address hidden> Tue, 03 Dec 2013 15:50:45 +0100