Ubuntu Studio CD image build failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned | ||
Plucky |
Won't Fix
|
Undecided
|
Unassigned | ||
Questing |
Confirmed
|
Undecided
|
Unassigned | ||
lowlatency-kernel (Ubuntu) |
Fix Released
|
Undecided
|
Juerg Haefliger | ||
Noble |
Fix Released
|
Undecided
|
Juerg Haefliger | ||
Plucky |
Fix Released
|
Undecided
|
Juerg Haefliger | ||
Questing |
Fix Released
|
Undecided
|
Juerg Haefliger |
Bug Description
[ Impact ]
Ubuntu Studio uses the lowlatency kernel. With 6.14, the lowlatency kernel is just the generic kernel with some bootargs to make it lowlatency. This breaks the Ubuntu Studio livefs and CD image builds.
https:/
Problem 1)
The postinst hook of the lowlatency-kernel package calls update-grub unconditionally which fails if the package is installed in a chroot.
From a livefs build log:
Processing triggers for dbus (1.14.10-
Processing triggers for libgtk-3-0t64:amd64 (3.24.41-
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for libgtk2.
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for initramfs-tools (0.142ubuntu25.5) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.5) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for dictionaries-common (1.29.7) ...
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
cryptsetup: ERROR: Couldn't resolve device overlay
cryptsetup: WARNING: Couldn't determine root device
cryptsetup: ERROR: Couldn't resolve device /dev/vdb
Errors were encountered while processing:
lowlatency-kernel
Problem 2)
The kernel flavor name changed from 'lowlatency' to 'generic'. This breaks livecd-rootfs.
[2025-07-30 21:10:37] No catalog entry template for standard.live
[2025-07-30 21:10:38] P: Begin unmounting filesystems...
[2025-07-30 21:10:38] P: Saving caches...
[2025-07-30 21:10:38] No kernel output for lowlatency!
[2025-07-30 21:10:38] P: Begin unmounting filesystems...
[2025-07-30 21:10:38] P: Saving caches...
[2025-07-30 21:10:38] Build failed
Problem 3)
The ISO kernel is the generic kernel now so needs additional boot args to make it lowlatency. Otherwise 'Try Ubuntu Studio' will run the generic kernel which is likely not what we want.
[ Test Plan ]
1. Trigger an Ubuntu Studio livefs build and watch it succeed.
2. Boot a resulting CD image and verify the running kernel is lowlatency.
3. Install Ubuntu Studio and verify the running kernel is lowlatency.
[ Where Problems Could Occur ]
Other consumers of livecd-rootfs could fail, i.e., other livefs builds might fail due to livecd-rootfs changes.
Machines that have the lowlatency-kernel package installed might not update grub.cfg and hence not switch the kernel to lowlatency but continue to run with generic settings.
Related branches
- Paride Legovini: Approve
-
Diff: 37 lines (+5/-4)2 files modifiedtools/boot/noble/boot-amd64 (+0/-3)
tools/boot/noble/common.sh (+5/-1)
- Dan Bungert: Approve
- Michael Hudson-Doyle: Approve
-
Diff: 37 lines (+7/-4)2 files modifieddebian/changelog (+6/-0)
live-build/auto/build (+1/-4)
summary: |
- Installation fails in a container + Installation fails in a chroot |
description: | updated |
Changed in lowlatency-kernel (Ubuntu Questing): | |
assignee: | nobody → Juerg Haefliger (juergh) |
Changed in lowlatency-kernel (Ubuntu Plucky): | |
assignee: | nobody → Juerg Haefliger (juergh) |
Changed in lowlatency-kernel (Ubuntu Noble): | |
assignee: | nobody → Juerg Haefliger (juergh) |
Changed in lowlatency-kernel (Ubuntu Noble): | |
milestone: | none → ubuntu-24.04.3 |
summary: |
- Installation fails in a chroot + Ubuntu Studio CD image build fails |
summary: |
- Ubuntu Studio CD image build fails + Ubuntu Studio CD image build failure |
description: | updated |
description: | updated |
Changed in livecd-rootfs (Ubuntu Questing): | |
status: | In Progress → New |
assignee: | Dan Bungert (dbungert) → nobody |
Changed in livecd-rootfs (Ubuntu Noble): | |
assignee: | Dan Bungert (dbungert) → nobody |
status: | In Progress → Fix Committed |
tags: | added: patch |
description: | updated |
Changed in lowlatency-kernel (Ubuntu Noble): | |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
dediff for plucky