2023-10-10 18:41:30 |
John Chittum |
bug |
|
|
added bug |
2023-10-10 19:38:19 |
Andrew Cloke |
bug |
|
|
added subscriber Andrew Cloke |
2023-10-11 10:41:45 |
Philip Roche |
summary |
ppcel64 images unpack to /boot/vmlinux not /boot/vmlinux leading to kernel feature mismatch |
ppcel64 images unpack to /boot/vmlinux not /boot/vmlinuz leading to kernel feature mismatch |
|
2023-10-11 10:45:52 |
Philip Roche |
livecd-rootfs (Ubuntu): assignee |
|
Philip Roche (philroche) |
|
2023-10-11 10:46:54 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/453306 |
|
2023-10-11 10:47:08 |
Philip Roche |
livecd-rootfs (Ubuntu): status |
New |
Fix Committed |
|
2023-10-19 14:50:31 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/454043 |
|
2023-10-19 14:55:05 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/454045 |
|
2023-10-19 15:06:16 |
Philip Roche |
description |
In a build of a ppcel64 image, snap_validate_seed fails to find the installed kernel to pick a matching apparmor feature set to mount. from the log
```
+ [ -e chroot/boot/vmlinuz ]
+ [ -e chroot/var/lib/snapd/seed/seed.yaml ]
+ snap debug validate-seed chroot/var/lib/snapd/seed/seed.yaml
+ realpath chroot
+ /usr/lib/snapd/snap-preseed --reset /build/chroot
ubuntu classic preseeding
unmounting: /build/chroot/tmp/snapd-preseed
ubuntu classic preseeding
unmounting: /tmp/snapd-preseed
+ realpath chroot
+ /usr/lib/snapd/snap-preseed /build/chroot
ubuntu classic preseeding
```
This corresponds to line 772 in livecd-rootfs/live-build/functions
snap_validate_seed() {
local CHROOT_ROOT=$1
local kern_major_min=undefined
if [ -e ${CHROOT_ROOT}/boot/vmlinuz ]; then
ppcel64 however unpacks to /boot/vmlinux. For history:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1358920
for ppcel64 images, this function needs to be updated to check for `/boot/vmlinux`.
This will require an SRU 23.10 (post-release) and 22.04 |
In a build of a ppcel64 image, snap_validate_seed fails to find the installed kernel to pick a matching apparmor feature set to mount. from the log
```
+ [ -e chroot/boot/vmlinuz ]
+ [ -e chroot/var/lib/snapd/seed/seed.yaml ]
+ snap debug validate-seed chroot/var/lib/snapd/seed/seed.yaml
+ realpath chroot
+ /usr/lib/snapd/snap-preseed --reset /build/chroot
ubuntu classic preseeding
unmounting: /build/chroot/tmp/snapd-preseed
ubuntu classic preseeding
unmounting: /tmp/snapd-preseed
+ realpath chroot
+ /usr/lib/snapd/snap-preseed /build/chroot
ubuntu classic preseeding
```
This corresponds to line 772 in livecd-rootfs/live-build/functions
snap_validate_seed() {
local CHROOT_ROOT=$1
local kern_major_min=undefined
if [ -e ${CHROOT_ROOT}/boot/vmlinuz ]; then
ppcel64 however unpacks to /boot/vmlinux. For history:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1358920
for ppcel64 images, this function needs to be updated to check for `/boot/vmlinux`.
This will require an SRU 23.10 (post-release) and 22.04
SRU
====
[ Impact ]
* ppc64el Users of the 6.5 kernel will have un-optimized first boot experiences due to snaps not preseeding with the correct apparmor setup. This directly affects clouds, leading to boot speed degradation of anywhere from 10-30s (depending on snaps installed)
[ Test Plan ]
* Build test ppc64el images and test that presenting was correctly applied for the 6.5 kernel
[ Where problems could occur ]
* If the optimized preseeding of the snaps for ppc64el continues to fail |
|
2023-10-19 15:31:31 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/454052 |
|
2023-10-19 15:32:19 |
Philip Roche |
nominated for series |
|
Ubuntu Bionic |
|
2023-10-19 15:32:19 |
Philip Roche |
bug task added |
|
livecd-rootfs (Ubuntu Bionic) |
|
2023-10-19 15:32:19 |
Philip Roche |
nominated for series |
|
Ubuntu Mantic |
|
2023-10-19 15:32:19 |
Philip Roche |
bug task added |
|
livecd-rootfs (Ubuntu Mantic) |
|
2023-10-19 15:32:19 |
Philip Roche |
nominated for series |
|
Ubuntu Lunar |
|
2023-10-19 15:32:19 |
Philip Roche |
bug task added |
|
livecd-rootfs (Ubuntu Lunar) |
|
2023-10-19 15:32:19 |
Philip Roche |
nominated for series |
|
Ubuntu Jammy |
|
2023-10-19 15:32:19 |
Philip Roche |
bug task added |
|
livecd-rootfs (Ubuntu Jammy) |
|
2023-10-19 15:32:19 |
Philip Roche |
nominated for series |
|
Ubuntu Focal |
|
2023-10-19 15:32:19 |
Philip Roche |
bug task added |
|
livecd-rootfs (Ubuntu Focal) |
|
2023-10-19 15:32:19 |
Philip Roche |
nominated for series |
|
Ubuntu Xenial |
|
2023-10-19 15:32:19 |
Philip Roche |
bug task added |
|
livecd-rootfs (Ubuntu Xenial) |
|
2023-10-19 15:32:32 |
Philip Roche |
livecd-rootfs (Ubuntu Jammy): status |
New |
Fix Committed |
|
2023-10-19 15:32:35 |
Philip Roche |
livecd-rootfs (Ubuntu Jammy): assignee |
|
Philip Roche (philroche) |
|
2023-10-19 15:40:52 |
Philip Roche |
livecd-rootfs (Ubuntu Lunar): assignee |
|
Philip Roche (philroche) |
|
2023-10-19 15:40:57 |
Philip Roche |
livecd-rootfs (Ubuntu Focal): assignee |
|
Philip Roche (philroche) |
|
2023-10-19 15:40:59 |
Philip Roche |
livecd-rootfs (Ubuntu Bionic): assignee |
|
Philip Roche (philroche) |
|
2023-10-19 15:41:02 |
Philip Roche |
livecd-rootfs (Ubuntu Xenial): assignee |
|
Philip Roche (philroche) |
|
2023-10-19 15:44:48 |
Philip Roche |
livecd-rootfs (Ubuntu Xenial): status |
New |
Won't Fix |
|
2023-10-19 15:44:50 |
Philip Roche |
livecd-rootfs (Ubuntu Bionic): status |
New |
Won't Fix |
|
2023-10-19 15:44:53 |
Philip Roche |
livecd-rootfs (Ubuntu Focal): status |
New |
Won't Fix |
|
2023-10-19 15:44:57 |
Philip Roche |
livecd-rootfs (Ubuntu Lunar): status |
New |
Won't Fix |
|