Backport snap-preseed work from groovy to focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
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.
Related branches
- Dimitri John Ledkov: Approve
- Robert C Jennings (community): Needs Fixing
-
Diff: 439 lines (+159/-4)37 files modifieddebian/changelog (+22/-0)
live-build/apparmor/generic.features (+78/-0)
live-build/apparmor/generic/capability (+1/-0)
live-build/apparmor/generic/caps/mask (+1/-0)
live-build/apparmor/generic/dbus/mask (+1/-0)
live-build/apparmor/generic/domain/attach_conditions/xattr (+1/-0)
live-build/apparmor/generic/domain/change_hat (+1/-0)
live-build/apparmor/generic/domain/change_hatv (+1/-0)
live-build/apparmor/generic/domain/change_onexec (+1/-0)
live-build/apparmor/generic/domain/change_profile (+1/-0)
live-build/apparmor/generic/domain/computed_longest_left (+1/-0)
live-build/apparmor/generic/domain/fix_binfmt_elf_mmap (+1/-0)
live-build/apparmor/generic/domain/post_nnp_subset (+1/-0)
live-build/apparmor/generic/domain/stack (+1/-0)
live-build/apparmor/generic/domain/version (+1/-0)
live-build/apparmor/generic/file/mask (+1/-0)
live-build/apparmor/generic/mount/mask (+1/-0)
live-build/apparmor/generic/namespaces/pivot_root (+1/-0)
live-build/apparmor/generic/namespaces/profile (+1/-0)
live-build/apparmor/generic/network/af_mask (+1/-0)
live-build/apparmor/generic/network/af_unix (+1/-0)
live-build/apparmor/generic/network_v8/af_mask (+1/-0)
live-build/apparmor/generic/policy/set_load (+1/-0)
live-build/apparmor/generic/policy/versions/v5 (+1/-0)
live-build/apparmor/generic/policy/versions/v6 (+1/-0)
live-build/apparmor/generic/policy/versions/v7 (+1/-0)
live-build/apparmor/generic/policy/versions/v8 (+1/-0)
live-build/apparmor/generic/ptrace/mask (+1/-0)
live-build/apparmor/generic/query/label/data (+1/-0)
live-build/apparmor/generic/query/label/multi_transaction (+1/-0)
live-build/apparmor/generic/query/label/perms (+1/-0)
live-build/apparmor/generic/rlimit/mask (+1/-0)
live-build/apparmor/generic/signal/mask (+1/-0)
live-build/auto/build (+5/-2)
live-build/functions (+15/-0)
live-build/seccomp/generic.actions_avail (+1/-0)
live-build/ubuntu-server/hooks/032-installer-squashfs.binary (+7/-2)
Changed in livecd-rootfs (Ubuntu Groovy): | |
status: | New → Fix Released |
Changed in livecd-rootfs (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in livecd-rootfs (Ubuntu Focal): | |
status: | Confirmed → In Progress |
Hello Dimitri, or anyone else affected,
Accepted livecd-rootfs into focal-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ livecd- rootfs/ 2.664.8 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- focal to verification- done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- focal. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.