[Bug 2066905] Re: LXD snap no longer seeded in any images so does not need special handling in unminimize logic
Paride Legovini
2066905 at bugs.launchpad.net
Mon Jun 17 14:56:38 UTC 2024
[ Noble Verification: server daily image build ]
I downloaded a recent noble-live-server-amd64.iso daily, specifically:
$ bsdtar -x -f noble-live-server-amd64.iso -O .disk/info
20240616
Opened its cd-build-log file:
https://ubuntu-archive-team.ubuntu.com/cd-build-logs/ubuntu-
server/noble/daily-live-20240616.log
which points to this livefs build:
ubuntu-server-live-amd64: https://launchpad.net/~ubuntu-
cdimage/+livefs/ubuntu/noble/ubuntu-server-live/+build/634647
whose buildlog
(https://launchpadlibrarian.net/735405004/buildlog_ubuntu_noble_amd64_ubuntu-
server-live_BUILDING.txt.gz) shows:
Selecting previously unselected package livecd-rootfs.
Preparing to unpack .../153-livecd-rootfs_24.04.71_amd64.deb ...
Unpacking livecd-rootfs (24.04.71) ...
[...]
Setting up livecd-rootfs (24.04.71) ...
and livecd-rootfs (24.04.71) is the version currently in noble-proposed
that we want to verify.
I manually performed an all-defaults install from that ISO and
successfully verified that:
1. right after install, the lxd snap is not installed
2. there is a /usr/sbin/lxc file provided by the lxd-installer package
3. if I run `lxc`, the snap gets auto installed, then lxc from the snap is executed
4. running `lxc` again works fine, running the command from the snap
--
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/2066905
Title:
LXD snap no longer seeded in any images so does not need special
handling in unminimize logic
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Noble:
Fix Committed
Status in livecd-rootfs source package in Oracular:
Fix Released
Bug description:
The LXD snap is no longer seeded in any images since Noble+ so the
unminimize logic in https://git.launchpad.net/livecd-rootfs/tree/live-
build/auto/build?h=ubuntu/noble#n290 and
https://git.launchpad.net/livecd-rootfs/tree/live-build/ubuntu-
server/hooks/01-unminimize.chroot_early?h=ubuntu/noble#n17 is no
longer required.
lxd-installer can remain installed.
This applies for Noble+ so requires SRU back to Noble
[ Impact ]
Attempting to install LXD snap on unminimize when this is no longer
required.
Due to how daily server image builds upgrade to packages from
-proposed this is also causing server image build failures - see
https://bugs.launchpad.net/ubuntu/+source/lxd-installer/+bug/2061017
[ Test Plan ]
* Successfully build server daily image
* Build cloud minimal image and confirm unminimize does not install LXD snap
[ Where problems could occur ]
* If the server image does not build or if LXD snap continues to be
installed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2066905/+subscriptions
More information about the foundations-bugs
mailing list