Fwd: Fwd: Ubuntu 18.04: apt hangs during build of FWTS driver, Secure Boot enabled
Paul English
penglish at preossec.com
Tue Jul 10 18:43:19 UTC 2018
Thanks Blibbet for asking as a proxy, but it I'll save some relaying by getting on this list myself.
I'm on 4.15.0-23-generic, so it does seem like attempting to build dkms when it is not expected to work is a likely issue. `ps` below seems to confirm.
Probably just my ignorance here - but I'm not sure how to get the 18.05.01 version off https://launchpad.net/~firmware-testing-team/+archive/ubuntu/scratch as it doesn't seem to be listed. I tried:
$ sudo apt-get install fwts=18.05.01-0ubuntu1~b -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '18.05.01-0ubuntu1~b' for 'fwts' was not found
and I also tried just fwts=18.05.01 Perhaps because it was reverted?
I can confirm that the latest version from the testing repo 18.06.03-0ubuntu1~b exhibits the same behavior.
A bit more potentially useful info from ps, during the hang:
root 2857 2514 0 11:22 pts/0 00:00:00 sudo apt-get install fwts
root 2858 2857 1 11:22 pts/0 00:00:00 apt-get install fwts
root 2924 2858 0 11:22 pts/1 00:00:00 /usr/bin/dpkg --status-fd 47 --configure --pending
root 2925 2924 0 11:22 pts/1 00:00:00 /bin/sh /var/lib/dpkg/info/fwts-efi-runtime-dkms.postinst configure
root 2926 2925 0 11:22 pts/1 00:00:00 /bin/sh /usr/lib/dkms/common.postinst fwts-efi-runtime-dkms 18.06.03 /usr/share/fwts-efi-runtime-dkms-dkms
root 3035 2926 0 11:22 pts/1 00:00:00 /bin/bash /usr/sbin/dkms build -m fwts-efi-runtime-dkms -v 18.06.03 -k 4.15.0-23-generic
root 3052 3035 0 11:22 pts/1 00:00:00 /bin/bash /usr/sbin/dkms build -m fwts-efi-runtime-dkms -v 18.06.03 -k 4.15.0-23-generic
root 4087 3052 0 11:22 pts/1 00:00:00 /usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/update-secureboot-policy --enroll-key
root 4101 4087 0 11:22 pts/1 00:00:00 /bin/sh /usr/sbin/update-secureboot-policy --enroll-key
root 4116 4087 0 11:22 pts/1 00:00:00 whiptail --backtitle Package configuration --title Configuring Secure Boot --output-fd 12 --nocancel --msgbox Your system has UEFI Secure Boot enabled. UEFI Secure Boot requires additional configuration to work with third-party drive
At least this time I figured out that I can kill it with -9 :-) SIGINT does not work
-------- Forwarded Message --------
Subject: Re: Ubuntu 18.04: apt hangs during build of FWTS driver,
Secure Boot enabled
Date: Mon, 9 Jul 2018 16:37:03 -0700
From: Alex Hung <alex.hung at canonical.com>
To: blibbet at gmail.com
CC: fwts-devel <fwts-devel at lists.ubuntu.com>
This may be related to efi_runtime driver in fwts, ex. reported as
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/1769059
I built a possible (but reverted later reverted) package in comment #7, and
it works with Secure Boot enabled. Will you be able to try it while we are
investigating another possible solution?
Cheers,
Alex Hung
On Mon, Jul 9, 2018 at 4:16 PM Blibbet <blibbet at gmail.com> wrote:
> Hi,
>
> A friend was just trying to install FWTS on a Ubuntu 18.04 system. They
> said that apt hangs when trying to install FWTS.
>
> It hangs during the build of the kernel module.
>
> Output from 'ps -eaf' includes:
>
> root 4541 4512 0 11:56 pts/1 00:00:00 whiptail --backtitle
> Package configuration --title Configuring Secure Boot --output-fd 12
> --nocancel --msgbox Your system has UEFI Secure Boot enabled. UEFI Secure
> Boot requires additional configuration to work with third-party drive
>
> When Secure Boot was disabled, then FWTS was able to successfully install.
>
> Should there not be some dialog that hints to user that they need to
> disable Secure Boot?
>
> Is this a new change in Ubuntu Secure Boot policy that is causing this?
>
> Thanks for any additional information.
>
> Thanks,
> Lee Fisher
>
>
> --
> fwts-devel mailing list
> fwts-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/fwts-devel
>
--
Cheers,
Alex Hung
More information about the fwts-devel
mailing list