← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 2038957] Re: ppcel64 images unpack to /boot/vmlinux not /boot/vmlinuz leading to kernel feature mismatch

 

This bug was fixed in the package livecd-rootfs - 2.765.34

---------------
livecd-rootfs (2.765.34) jammy; urgency=medium

  * Remove comments in the debian/control dependencies as it was causing the
    package build to fail.

livecd-rootfs (2.765.33) jammy; urgency=medium

  [ Steve Langasek ]
  * Use losetup instead of kpartx to resolve race conditions in riscv64
    image builds.  LP: #2045797.

  [ Utkarsh Gupta ]
  * unminimize: Use lxd-installer to install LXD itself (LP: #2036725)

livecd-rootfs (2.765.32) jammy; urgency=medium

  [ Heinrich Schuchardt ]
  * arm: fix console parameter for ARM cloud-images (LP: #2036730)

livecd-rootfs (2.765.31) jammy; urgency=medium

  [ John Chittum ]
  * fix: add 6.5 kernel apparmor features to livecd-rootfs based on
    features of 6.5 in ubuntu/mantic. This will roll as HWE. (LP: #2037567)

livecd-rootfs (2.765.30) jammy; urgency=medium

  * Enable snap preseeding with ppc64el images where /boot/vmlinux is used
    instead of /boot/vmlinuz. (LP: #2038957)

livecd-rootfs (2.765.29) jammy; urgency=medium

  [ Steve Langasek ]
  * The chroot tmpfs mount should only be /var/lib/apt/lists, not
    /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states.
    (LP: #2036195).

livecd-rootfs (2.765.28) jammy; urgency=medium

  * Fix unminimize to correctly list packages. (LP: #1996489)
  * Install LXD snap from stable/ubuntu-<version> channel. (LP: #2036725)

livecd-rootfs (2.765.27) jammy; urgency=medium

  [ Thomas Bechtold ]
  * Do not modify /etc/ssh/sshd_config for ubuntu-cpc
    project builds (LP: #1968873)

 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@xxxxxxxxxx>  Mon, 15 Jan
2024 16:41:18 +0100

** Changed in: livecd-rootfs (Ubuntu Jammy)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
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 Released
Status in livecd-rootfs source package in Lunar:
  Won't Fix
Status in livecd-rootfs source package in Mantic:
  Fix Released
Status in livecd-rootfs source package in Noble:
  Fix Released

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 preseeding 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