group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #46141
[Bug 2038957] Re: ppcel64 images unpack to /boot/vmlinux not /boot/vmlinuz leading to kernel feature mismatch
Please adjust the status of Noble, too.
** Also affects: livecd-rootfs (Ubuntu Noble)
Importance: Undecided
Assignee: Philip Roche (philroche)
Status: Fix Released
** Changed in: livecd-rootfs (Ubuntu Noble)
Status: Fix Released => New
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/2038957
Title:
ppcel64 images unpack to /boot/vmlinux not /boot/vmlinuz leading to
kernel feature mismatch
Status in livecd-rootfs package in Ubuntu:
New
Status in livecd-rootfs source package in Xenial:
Won't Fix
Status in livecd-rootfs source package in Bionic:
Won't Fix
Status in livecd-rootfs source package in Focal:
Won't Fix
Status in livecd-rootfs source package in Jammy:
Fix Committed
Status in livecd-rootfs source package in Lunar:
Won't Fix
Status in livecd-rootfs source package in Mantic:
Fix Committed
Status in livecd-rootfs source package in Noble:
New
Bug 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
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2038957/+subscriptions