~davidkrauser/livecd-rootfs/+git/livecd-rootfs:ubuntu/master

Last commit made on 2020-07-22
Get this branch:
git clone -b ubuntu/master https://git.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs
Only David Krauser can upload to this branch. If you are David Krauser please log in for upload directions.

Branch merges

Branch information

Name:
ubuntu/master
Repository:
lp:~davidkrauser/livecd-rootfs/+git/livecd-rootfs

Recent commits

83499f1... by David Krauser

Add mechanism to detect initrdless boot fallback

In v2.672 the default boot behavior of cloud images changed:

- Prior to v2.672, cloud images with the linux-generic kernel attempt
  to boot without an initramfs, would fail, and then retry with an
  initramfs.

- After v2.672, cloud images with the linux-generic kernel boot with
  an initramfs on the first try.

While the behavior is different between the two, they both result in
an instance that has booted with an initramfs. To ensure the changes
in v2.672 do not regress, we need an automated way to check if we are
attempting to boot without an initramfs and failing.

With this change, when we attempt to boot with an initramfs and fail,
initrdless_boot_fallback_triggered is set to non-zero in the grubenv.
This value can be checked after boot by looking in /boot/grub/grubenv
or by using the grub-editenv list command.

2edabc3... by Robert C Jennings

releasing package livecd-rootfs version 2.677

  * Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)

84397b5... by Robert C Jennings

Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)

Builds in LP with the Xenial kernel were happy with the recursive mount of
/sys inside the chroot while performing snap-preseeding but autopkgtests
with the groovy kernel failed. With the groovy kernel the build was
unable to unmount sys/kernel/slab/*/cgroup/* (Operation not permitted).

This patch mounts /sys and /sys/kernel/security in the chroot in the
same way we've added for binary hooks. This provides the paths under
/sys needed for snap-preseed while avoiding issues unmounting other
paths.

b22d7dc... by Dimitri John Ledkov

releasing package livecd-rootfs version 2.676

b14f79c... by Dimitri John Ledkov

apparmor: compile all profiles

31861fd... by Dimitri John Ledkov

seccomp: mount more up-to-date seccomp features

bc4d32a... by Dimitri John Ledkov

seccomp: add more up-to-date seccomp actions

a14a31b... by Dimitri John Ledkov

apparmor: mount more up-to-date apparmor features in the chroot.

37be000... by Dimitri John Ledkov

apparmor: Add generic v5.4 kernel apparmor features

3694cf3... by Dimitri John Ledkov

releasing package livecd-rootfs version 2.675