[Bug 2038957] Re: ppcel64 images unpack to /boot/vmlinux not /boot/vmlinuz leading to kernel feature mismatch
Philip Roche
2038957 at bugs.launchpad.net
Wed Oct 11 10:41:45 UTC 2023
** Summary changed:
- 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
** Changed in: livecd-rootfs (Ubuntu)
Assignee: (unassigned) => Philip Roche (philroche)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
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:
Fix Committed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2038957/+subscriptions
More information about the foundations-bugs
mailing list