[Bug 1993204] Re: apparmor features overlay needs to be updated with 5.19 features.

Steve Langasek 1993204 at bugs.launchpad.net
Mon Oct 17 19:31:52 UTC 2022


Copying my comments from the MP:

I agree that we should ensure snapd is generating correct cache in the
chroot that will be applicable on the booted system.

I think it's terrible that any of this stuff is hard-coded in livecd-
rootfs source.

Any thoughts on how to keep this up-to-date going forward without
maintaining a clone of a snapshot of a /sys subtree?

-- 
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/1993204

Title:
  apparmor features overlay needs to be updated with 5.19 features.

Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  [ Impact ]

   * The apparmor feature overlay used to build images currently doesn't
     match the target system features. Seeding snaps relies on this info
     on image build. Mismatch between features at boot vs seeding has
     the effect of slowing down boot by ~200ms.

  [ Test Plan ]

   * When booting the resulting image, snapd should not have a `seed-restart-system-key`
     when running `snap debug seeding`

  [ Other info ]

   * The updated values have been copied verbatim from a fresh image
  with `linux-image-5.19.0-1008-kvm`

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1993204/+subscriptions




More information about the foundations-bugs mailing list