[Bug 2092196] Re: udev package missing in oracular buildd image
Simon Poirier
2092196 at bugs.launchpad.net
Fri Feb 28 21:16:48 UTC 2025
I don't think there is a strict requirement to get this backported to Oracular, as it appears craft tools care about the latest interim release (plucky) for pre-release testing, so I'm closing the backport MP.
Feel free to re-open if you belive this to be in error.
I did validate the above test plan against currently published plucky
buildd lxd image serial 20250227 on amd64.
** Changed in: livecd-rootfs (Ubuntu Oracular)
Status: New => Won't Fix
** Changed in: cloud-images
Status: Confirmed => Fix Released
--
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/2092196
Title:
udev package missing in oracular buildd image
Status in cloud-images:
Fix Released
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Oracular:
Won't Fix
Status in livecd-rootfs source package in Plucky:
Fix Released
Bug description:
[ Impact ]
* buildd hooks create minimal images used by launchpad and craft tools.
Snapcraft relies on LXD images to create its build environment.
Launching LXD buildd images with an injected network configuration
will fail to configure the NIC in the absence of udev. The NIC will
stay as "pending" according to networkctl.
* bootable buildd images (for VMs) already include udev and are
unaffected.
[ Test Plan ]
* get an image or build one with: --project ubuntu-base --subproject buildd
wget -O image.tar.gz https://cloud-images.ubuntu.com/buildd/daily/oracular/current/oracular-server-cloudimg-amd64-lxd_combined.tar.gz
img=$(sha256sum image.tar.gz | awk '{print $1}')
lxc image import image.tar.gz
* create a test instance with basic dhcp network:
lxc init $img testbuildd
lxc file push --uid 0 --gid 0 --mode 0644 - testbuildd/etc/systemd/network/lxd.network <<EOF
[Match]
Name=eth0
[Network]
DHCP=yes
EOF
lxc start testbuildd
lxc exec testbuildd networkctl
* The eth0 network should show as configured
[ Where problems could occur ]
* Although udev is a standard package which is already exercised
in bootable buildd images, there is a possibility that issues might
surface when LP ingests and modifies this updated LXD image.
* Specialized build environments relying on the non-VM buildd image
(other than snapcraft and Launchpad) might be affected by the newly
exercised udev rules.
[ Other Info ]
* Launchpad doesn't directly consume buildd images from cloud-images.ubuntu.com
but rather repackages them and validates them in staging.
I did check LP devs to give them a heads-up about this change.
* This change isn't related to the recent launchpad buildd failures with udev
and snap installation failures.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2092196/+subscriptions
More information about the foundations-bugs
mailing list