Public bug reported: We've been encountering an issue with building the Ubuntu for Raspberry Pi images for oracular for the past couple of weeks:
https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/oracular/ubuntu- preinstalled It turns out the root issue is that the builders are running focal (kernel version 5.4), the build occurs under lxd (in an oracular container), and (peculiarly to this particular build, which uses ubuntu- image) the build requires snapd to be operational within the oracular container. I replicated the issue locally with the following setup, using both jammy and focal VMs to demonstrate the issue is kernel related: * A Raspberry Pi 4B with 8GB of RAM * Booted noble (24.04) and initialized lxd: lxd init * Launch a jammy VM: lxc launch ubuntu:j jammyvm * Enter the jammy VM: lxc exec jammyvm bash * Within the jammy VM, initialize lxd: lxd init * Launch an oracular container [1]: lxc launch ubuntu-daily:o oractest -c security.nesting=true * Enter the oracular container: lxc exec oractest bash * Check snapd is operational: snap list * snap reports nothing is installed, try the hello-world snap * Exit oracular container * Exit jammy VM * Stop jammy VM: lxc stop jammyvm * Launch a focal VM: lxc launch ubuntu:f focalvm * Enter the focal VM: lxc exec focalvm bash * Within the focal VM, initialize lxd: lxd init * Launch an oracular container [1]: lxc launch ubuntu-daily:o oractest -c security.nesting=true * Enter the oracular container: lxc exec oractest bash * Check snapd is operation: snap list * Test fails with: cannot communicate with server: Get "http://localhost/v2/snaps": dial unix /run/snapd.socket: connect: connection refused * Check systemctl output: numerous failed services * Check ps output: almost nothing running (just init, effectively) * Exit oracular container I noted that lxd was version 4.0/stable/ubuntu-20.04 under the focal VM and wondered if the current lxd would resolve things, but after refreshing it to 5.21/stable it displayed the same symptoms under the oracular container within. Is there any means of making an oracular container work under a focal kernel, or do I need to request the builders are upgraded? [1]: security.nesting=true used to work around LP: #2046486 ** Affects: lxd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2075176 Title: lxd cannot launch (useable) oracular container under focal's kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2075176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs