[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-31 Thread Steve Langasek
term.log.2.gz also doesn't show any changes during June that would
explain the setup being trashed by the time July arrived.

If you really never had grub-efi-amd64-signed installed, then this
should never have worked under SecureBoot.

Please do the following:

 - attach the output of 'dpkg -l 'shim*' 'grub*'
 - sudo apt-get install shim-signed grub-efi-amd64-signed
 - paste the new output of ls -l /boot/efi/EFI/ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-31 Thread alkamid
I enabled Secure Boot and it's working now, thanks for help. But still,
I'm absolutely sure that I got this secure boot failure on 02/07 and I
had to disable it in order to boot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-31 Thread alkamid
$ dpkg -l 'shim*' 'grub*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version 
ArchitectureDescription
+++-=-===-===-===
un  grub
  (no description available)
ii  grub-common   2.02~beta2-9ubuntu1.3   
amd64   GRand Unified Bootloader (common files)
un  grub-coreboot   
  (no description available)
un  grub-doc
  (no description available)
un  grub-efi
  (no description available)
ii  grub-efi-amd642.02~beta2-9ubuntu1.3   
amd64   GRand Unified Bootloader, version 2 (EFI-AMD64 
version)
ii  grub-efi-amd64-bin2.02~beta2-9ubuntu1.3   
amd64   GRand Unified Bootloader, version 2 (EFI-AMD64 
binaries)
un  grub-efi-ia32   
  (no description available)
un  grub-efi-ia64   
  (no description available)
un  grub-emu
  (no description available)
un  grub-ieee1275   
  (no description available)
un  grub-legacy 
  (no description available)
un  grub-legacy-doc 
  (no description available)
un  grub-linuxbios  
  (no description available)
un  grub-pc 
  (no description available)
un  grub-xen
  (no description available)
un  grub-yeeloong   
  (no description available)
un  grub2   
  (no description available)
ii  grub2-common  2.02~beta2-9ubuntu1.3   
amd64   GRand Unified Bootloader (common files for version 
2)
ii  shim  0.8-0ubuntu2
amd64   boot loader to chain-load signed boot loaders under 
Secure Boot
ii  shim-signed   1.9+0.8-0ubuntu2
amd64   Secure Boot chain-loading bootloader 
(Microsoft-signed binary)


$ ls -l /boot/efi/EFI/ubuntu
total 3437
-rwxr-xr-x 1 root root 126 Aug 31 19:31 grub.cfg
-rwxr-xr-x 1 root root  956792 Aug 31 19:31 grubx64.efi
-rwxr-xr-x 1 root root 1271672 Aug 31 19:31 MokManager.efi
-rwxr-xr-x 1 root root 1289424 Aug 31 19:31 shimx64.efi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-31 Thread Steve Langasek
Ok.  Installing grub-efi-amd64-signed was expected to fix the SecureBoot
bootability, so this was the problem.  The logs provide no explanation
of why this package was missing from your system, however, so there's
nothing more we can do from this side to track that down.  If you can
find some explanation for this in your logs, feel free to reopen the
bug.

** Changed in: shim (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-30 Thread Steve Langasek
ok, so the term.log.3.gz shows the upgrade from May 18, and it appears
that at that time you *did* have grub-efi-amd64-signed installed and
probably also shim-signed.

The timestamp on the grubx64.efi is from July 2, which is when you say
the problem started.  But your apt log for this time period does not
show any package changes at that time.

Please also attach /var/log/apt/term.log.2.gz for completeness.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-30 Thread Steve Langasek
** Tags added: bot-stop-nagging

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-29 Thread alkamid
Steve, please do tell me if my present term.log (which does not cover
the time when Secure Boot failed) might be of relevance here. If so,
I'll attach it as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-29 Thread alkamid
Yes, it was term.log, but since this all happened two months ago, the
relevant log was already archived. I'm now attaching it with the correct
name. Also I pasted the other outputs in the original post, but I'll
repaste them here as well for clarity:

/boot/efi/EFI/ubuntu$ ls -l
total 2592
-rwxr-xr-x 1 root root 126 May 18 21:35 grub.cfg
-rwxr-xr-x 1 root root 119296 Jul 2 06:58 grubx64.efi
-rwxr-xr-x 1 root root 1178240 May 18 21:35 MokManager.efi
-rwxr-xr-x 1 root root 1355736 May 18 21:35 shimx64.efi

'efibootmgr -v' does not output anything.

** Attachment removed: term.log.1.gz
   
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+attachment/4453943/+files/term.log.1.gz

** Attachment added: term.log
   
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+attachment/4454010/+files/term.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-29 Thread Steve Langasek
Ok, thanks for the clarification.  I overlooked that this problem
started affecting you two months ago, I didn't expect a bug report would
be based on a boot problem from so long ago.

A few things:
 - your file timestamps date back to May.  Can you attach the apt term log for 
*this* period? (which should be /var/log/apt/term.log.3.gz)
 - you reported this bug against shim 0.8-0ubuntu2, however the files listed in 
your /boot/efi/EFI/ubuntu directory do not match this version. Do you have the 
shim-signed package installed at all?
 - your grubx64.efi looks too small to be the one from grub-efi-amd64-signed, 
by a factor of 4.  Do you have grub-efi-amd64-signed installed?
 - if 'efibootmgr -v' returns no results, this means Ubuntu is unable to detect 
any configured EFI boot options on your system.  Did you change your system to 
boot in BIOS mode, and not just disable secureboot?

Since you report this against shim version 0.8-0ubuntu2, which has not
yet been released as an SRU to trusty-updates, this means that you have
trusty-proposed enabled and have installed shim from there.  There's a
good chance that you did this at a time that no corresponding version of
shim-signed was available in trusty-proposed, causing this package to be
removed from your system.  Running systems with -proposed enabled is not
generally recommended for end users, and this kind of package removal is
an unavoidable consequence of doing so.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-28 Thread alkamid
As per @vorlon's request.

** Attachment added: term.log.1.gz
   
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+attachment/4453943/+files/term.log.1.gz

** Description changed:

  (I'm following instructions from https://help.ubuntu.com/community/UEFI
  to report this here)
  
  On 2/07/2015 my Ubuntu 14.04 refused to boot because of the Secure Boot
  check failure. These are apt logs from the period before the failure:
  
  Start-Date: 2015-07-01  16:15:26
  Commandline: apt-get install python-igraph
  Install: libigraph0:amd64 (0.6.5-5, automatic), python-igraph:amd64 
(0.6.5-1), libarpack2:amd64 (3.1.5-2, automatic)
  End-Date: 2015-07-01  16:15:28
  
  Start-Date: 2015-06-29  19:24:14
  Commandline: apt-get purge -y fonts-dejavu-core
  Purge: fonts-dejavu-extra:amd64 (2.34-1ubuntu1), ubuntu-desktop:amd64 
(1.325), stellarium-data:amd64 (0.12.4-1), stellarium:amd64 (0.12.4-1), 
plymouth-label:amd64 (0.8.8-0ubuntu17.1), plymouth-theme-ubuntu-logo:amd64 
(0.8.8-0ubuntu17.1), fonts-dejavu-core:amd64 (2.34-1ubuntu1)
  End-Date: 2015-06-29  19:24:36
  
  Start-Date: 2015-06-29  19:24:39
  Commandline: apt-get install fonts-dejavu-core -y
  Install: fonts-dejavu-core:amd64 (2.34-1ubuntu1)
  End-Date: 2015-06-29  19:24:42
  
  Start-Date: 2015-06-29  19:24:52
  Commandline: apt-get autoremove
  Remove: linux-tools-3.13.0-54-generic:amd64 (3.13.0-54.91), 
linux-tools-3.16.0-39-generic:amd64 (3.16.0-39.53~14.04.1), 
linux-lts-utopic-tools-3.16.0-39:amd64 (3.16.0-39.53~14.04.1), 
linux-tools-3.13.0-54:amd64 (3.13.0-54.91)
  End-Date: 2015-06-29  19:24:53
  
- So I didn't even upgrade anything on that day (although I'm not sure
- when I rebooted). I'm on Dell E7440, Ubuntu is the only OS installed.
- When I switched off Secure Boot in bios, it booted fine. Is this an
- indication that my OS was tampered with? If not, might this be a bug?
+ 
+ /boot/efi/EFI/ubuntu$ ls -l
+ total 2592
+ -rwxr-xr-x 1 root root 126 May 18 21:35 grub.cfg
+ -rwxr-xr-x 1 root root  119296 Jul  2 06:58 grubx64.efi
+ -rwxr-xr-x 1 root root 1178240 May 18 21:35 MokManager.efi
+ -rwxr-xr-x 1 root root 1355736 May 18 21:35 shimx64.efi
+ 
+ 
+ 'efibootmgr -v' does not output anything.
+ 
+ 
+ So I didn't even upgrade anything on that day (although I'm not sure when I 
rebooted). I'm on Dell E7440, Ubuntu is the only OS installed. When I switched 
off Secure Boot in bios, it booted fine. Is this an indication that my OS was 
tampered with? If not, might this be a bug?
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: shim 0.8-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
  Uname: Linux 3.13.0-39-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.13
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Aug 28 19:03:03 2015
  Dependencies:
-  
+ 
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-10-17 (314 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS Trusty Tahr - Release amd64 
(20140722.2)
  SourcePackage: shim
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-28 Thread alkamid
@vorlon correct, this was an existing system and it worked fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-28 Thread Steve Langasek
Is the attached file /var/log/apt/term.log?  The filename (and the
contents) suggests this was /var/log/apt/term.log.1 instead.

Also need the information about the current state of your efi boot
partition and firmware settings (/boot/efi/EFI/ubuntu, efibootmgr -v).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489987] Re: Secure Boot failed on Ubuntu 14.04 on Dell E7440

2015-08-28 Thread Steve Langasek
So just to be sure, you're saying that this was an existing system which
was installed with 14.04 and was working fine, then after upgrade, it
stopped working?

Please attach to this bug:

 - a copy of /var/log/apt/term.log
 - a directory listing of /boot/efi/EFI/ubuntu/
 - the output of 'efibootmgr -v'

** Changed in: shim (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489987

Title:
  Secure Boot failed on Ubuntu 14.04 on Dell E7440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1489987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs