In Ubuntu 22.04, the HWE kernel has rolled to 5.19. the 5.19 kernel includes the apparmor feature for ipc/posix_mqueue. livecd-rootfs only contains features for the 5.15 kernel, thus missing ipc/posix_mqueue. This leads to snap_preseed having a mismatch in features, and the preseed is not optimized. in a cloud environment this can lead to boot delays of between 5 and 10s (rough measurements observed while debugging)
livecd-rootfs bind mounts apparmor features in functions/setup_mountpoint. This occurs early in the process when the final kernel is unknown.
In Ubuntu 22.04, the HWE kernel has rolled to 5.19. the 5.19 kernel includes the apparmor feature for ipc/posix_mqueue. livecd-rootfs only contains features for the 5.15 kernel, thus missing ipc/posix_mqueue. This leads to snap_preseed having a mismatch in features, and the preseed is not optimized. in a cloud environment this can lead to boot delays of between 5 and 10s (rough measurements observed while debugging)
livecd-rootfs bind mounts apparmor features in functions/ setup_mountpoin t. This occurs early in the process when the final kernel is unknown.