[Bug 1896755] Re: Backport snap-preseed work from groovy to focal
Launchpad Bug Tracker
1896755 at bugs.launchpad.net
Thu Dec 3 10:39:14 UTC 2020
This bug was fixed in the package livecd-rootfs - 2.664.8
---------------
livecd-rootfs (2.664.8) focal; urgency=medium
Backport snap-preseed work from groovy to focal LP: #1896755
[ Robert C Jennings ]
* Apply snap-preseed optimizations after seeding snaps
[ Dimitri John Ledkov ]
* live-server: remove duplicate snaps, due to overlayfs vs snap-preseed.
* apparmor: Add generic v5.4 kernel apparmor features
* apparmor: mount more up-to-date apparmor features in the chroot.
* seccomp: add more up-to-date seccomp actions
* seccomp: mount more up-to-date seccomp features
* apparmor: compile all profiles
[ Robert C Jennings ]
* Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
[ Dimitri John Ledkov ]
* auto/build: use setup|teardown_mountpoint to reduce duplication
* functions: provide nss_systemd-less nsswitch.conf in chroots.
-- Dimitri John Ledkov <xnox at ubuntu.com> Mon, 05 Oct 2020 10:33:02
+0100
** Changed in: livecd-rootfs (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
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/1896755
Title:
Backport snap-preseed work from groovy to focal
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Focal:
Fix Released
Status in livecd-rootfs source package in Groovy:
Fix Released
Bug description:
[Impact]
* livecd-rootfs when building classic images with snaps preseeded
doesn't perform any first-boot tasks during image building. It means
fist boot is computationally intensive. In groovy, livecd-rootfs
gained ability to precompute snap seeding, apparmor profiles making
first boot snap seeding a lot faster. Backport the goodies.
[Test Case]
* Perform stock build of ubuntu-cpc lxd or qcow cloud image
* Boot and observe they complete boot, and perfrom snap seeding very
quickly (i.e. less than a couple of seconds)
[Regression Potential]
* Images might fail to build, or be missbuilt. However, these changes
have been tested on groovy with the same snapd across all SKUs. Thus
only groovy-vs-focal incompatibilities may arise.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1896755/+subscriptions
More information about the foundations-bugs
mailing list