@enr0n I updated the test plan. ** Description changed:
[ Impact ] - * curl was present in Ubuntu 26.04 LTS minimal cloud-images prior to + * curl was present in Ubuntu 26.04 LTS minimal cloud-images prior to the removal of pollinate from the server-cloud-minimal seed (see https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/2158262). curl was never seeded directly, but was pulled in as a dependency of pollinate. However, users of the 26.04 minimal images who have been relying on curl being present in the image now find that it is no longer available by default. This is a regression from the previous behavior of the stable release image. - * To solve this issue, I propose pulling curl itself directly into the + * To solve this issue, I propose pulling curl itself directly into the seed: https://code.launchpad.net/~gjolly/ubuntu- seeds/+git/ubuntu/+merge/509106 - [ Test Plan ] - $ lxc launch ubuntu-minimal-daily:26.04 test-2162040 - $ lxc exec test-2162040 -- curl - Error: Command not found + Run an image build using the new seeds and verify that curl is installed + in part of the image manifest. + + To do so: + + $ git clone https://git.launchpad.net/livecd-rootfs -b ubuntu/resolute + $ cd livecd-rootfs + $ ./live-build/build-livefs-lxd \ + --suite resolute \ + --arch amd64 \ + --project ubuntu-cpc \ + --subproject minimized \ + --image-target qcow2 \ + --image-format ext4 \ + --output /tmp \ + --seedmirror \ + 'git://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ --vcs=git' + + Verify that curl is in the image manifest that was built: + + $ grep 'curl' /tmp/livecd.ubuntu-cpc.qcow.manifest + [ Where problems could occur ] - * Seeding curl direcly might pull it into places we do not expect. The + * Seeding curl direcly might pull it into places we do not expect. The way the seeds are used to build the image is not well documented. If a seed user was explicitly removing pollinate and all its dependencies, then adding curl back in might be unexpected. [ Other Info ] - * LP#2158262 also modifies the server seed but curl is already seeded + * LP#2158262 also modifies the server seed but curl is already seeded in this seed, so this bug doesn't affect the server images (very fortunately). ============== ORIGINAL DESCRIPTION ============= # description of the problem curl was present and has been removed from the ubuntu-minimal:26.04 images at https://cloud-images.ubuntu.com/minimal/daily/ # expected functionality curl was previously present in the image, but since pollinate has been removed curl is no longer present. https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/2158262 This has broken the LXD CI tests that depend on curl. wget is not an alternative because we use it to interact with unix sockets. # reproduction steps lxc launch ubuntu-minimal-daily:26.04 c1 lxc exec c1 -- curl # image type affected (i.e. images from cloud-images.ubuntu.com, specific cloud image) lxc image show 91579a6f0bda auto_update: true properties: architecture: amd64 description: ubuntu 26.04 LTS (minimal daily) label: minimal daily os: ubuntu release: resolute serial: "20260725" type: squashfs version: "26.04" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2162040 Title: curl missing from ubuntu-minimal:26.04 images To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-images/+bug/2162040/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
