[SRU] v4l2loopback-dkms breaks secure boot installation in seed

Bug #1983136 reported by Erich Eickmeyer
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntustudio-meta (Ubuntu)
Fix Released
High
Erich Eickmeyer
Jammy
Triaged
Critical
Erich Eickmeyer
Kinetic
Fix Released
High
Erich Eickmeyer

Bug Description

[Impact]

 * For users installing Ubuntu Studio 22.04 LTS on secure boot machines, this is currently not possible as v4l2loopback-dkms is currently seeded.

 * When v4l2loopback-dkms attempts to compile during installation on a secure boot machine without user interaction with calamares, it completely fails and the system installation fails.

 * In order to proceed, v4l2loopback-dkms must be removed from the seed and the ubuntustudio-video meta.

 * This was recently discovered while working with the Lubuntu team and undergoing extensive testing with the new Calamares. While it was not an issue with Calamares, it did point to the issue with v4l2loopback and explained some complaints received in the #ubuntustudio IRC chat.

[Test Plan]

 * Download Ubuntu Studio 22.04 ISO image.

 * Attempt to install on machine with Secure Boot enabled.

 * Installation will fail when v4l2loopback-dkms modules attempt to compile and install to kernel.

[Where problems could occur]

 * Problems can occur when existing users update and end up with v4l2loopback-dkms marked as autoremovable and run 'sudo apt autoremove', which will unexpectedly remove this package from their system. Unfortunately, there's no good way to mitigate this except to advise to reinstall this package.

Changed in ubuntustudio-meta (Ubuntu Jammy):
assignee: nobody → Erich Eickmeyer  (eeickmeyer)
Changed in ubuntustudio-meta (Ubuntu Kinetic):
assignee: nobody → Erich Eickmeyer  (eeickmeyer)
Changed in ubuntustudio-meta (Ubuntu Jammy):
importance: Undecided → Critical
Changed in ubuntustudio-meta (Ubuntu Kinetic):
importance: Undecided → High
status: New → Fix Committed
Changed in ubuntustudio-meta (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-meta - 0.272

---------------
ubuntustudio-meta (0.272) kinetic; urgency=medium

  * Refreshed dependencies
  * Removed v4l2loopback-dkms from video-recommends (LP: #1983136)
  * Removed v4l2loopback-utils from video-recommends

 -- Erich Eickmeyer <email address hidden> Sat, 30 Jul 2022 16:41:17 -0700

Changed in ubuntustudio-meta (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Erich, or anyone else affected,

Accepted ubuntustudio-meta into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntustudio-meta/0.266.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntustudio-meta (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-meta - 0.266.2

---------------
ubuntustudio-meta (0.266.2) jammy; urgency=medium

  * Refreshed dependencies
  * Removed v4l2loopback-dkms from video-recommends (LP: #1983136)
  * Removed v4l2loopback-utils from video-recommends

 -- Erich Eickmeyer <email address hidden> Sat, 30 Jul 2022 16:58:26 -0700

Changed in ubuntustudio-meta (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Metapackage installed normally

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1983136

tags: added: iso-testing
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

We seem to have the right package in the images but v4l2loopback-dkms still seems to be installed.

Changed in ubuntustudio-meta (Ubuntu Jammy):
status: Fix Released → Triaged
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Reverting status to 'Triaged' as the bug is not really fixed. The seed changes and metapackage updates are correct, but sadly due to the fact how livecd-rootfs runs germinate [1] these changes are not taken into consideration. Essentially the old metapackage from the release pocket is used for dependency resolution (even though, in the end, the right one is being installed). We don't have an easy solution for that at this stage...

[1] https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1921862

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.