Public bug reported: kernel bug
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2045384 introduced an apparmor change to the 5.15. This rolled down to the Focal HWE 5.15 kernel, causing failures to properly snap seed The original functionality was added into ubuntu/master and ubuntu/jammy with this bug: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2015596 which happened during the HWE roll to the 5.19 kernel. There was an assumption that a breaking change like this would not affect Focal, as rolls were done. However, 2045384 shows that this is not necessarily true. To fix 2045384, a backport to focal of the functionality in snap_validate_seed allowing matching on kernel version, and the creation of kernel specific directories is required [ Impact ] Boot will be slowed by ~200ms until this is resolved in livecd-rootfs [ Test Plan ] * for focal build any cloud image with preseeded snaps with HWE 5.15 kernel * boot * run `snap debug seeding` * assert the test described above passes [ Where problems could occur ] * Similar patches already exist for later releases 6.2, 6.5 kernel etc. and have been used on other private customer kernels and all kernels released after 22.04, so there is already a good track record for this patchset and it shouldn't create any issues. [ Other Info ] * This is a time-sensitive issue for a paying customer ** Affects: livecd-rootfs (Ubuntu) Importance: Undecided Status: New ** Description changed: kernel bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2045384 introduced an apparmor change to the 5.15. This rolled down to the Focal HWE 5.15 kernel, causing failures to properly snap seed The original functionality was added into ubuntu/master and ubuntu/jammy with this bug: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2015596 which happened during the HWE roll to the 5.19 kernel. There was an assumption that a breaking change like this would not affect Focal, as rolls were done. However, 2045384 shows that this is not necessarily true. To fix 2045384, a backport to focal of the functionality in snap_validate_seed allowing matching on kernel version, and the creation of kernel specific directories is required + + [ Impact ] + + Boot will be slowed by ~200ms until this is resolved in livecd-rootfs + + [ Test Plan ] + + * for focal build any cloud image with preseeded snaps with HWE 5.15 kernel + * boot + * run `snap debug seeding` + * assert the test described above passes + + [ Where problems could occur ] + + * Similar patches already exist for later releases 6.2, 6.5 kernel etc. + and have been used on other private customer kernels and all kernels + released after 22.04, so there is already a good track record for this + patchset and it shouldn't create any issues. + + [ Other Info ] + + * This is a time-sensitive issue for a paying customer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2059730 Title: Focal 5.15 kernel apparmor mismatch missing snap_validate_preseed functionality in livecd-rootfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2059730/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs