[Bug 2092196] Re: udev package missing in oracular buildd image

Launchpad Bug Tracker 2092196 at bugs.launchpad.net
Fri Jan 31 00:52:46 UTC 2025


** Merge proposal linked:
   https://code.launchpad.net/~simpoir/livecd-rootfs/+git/livecd-rootfs/+merge/480409

-- 
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:
  Confirmed
Status in livecd-rootfs package in Ubuntu:
  New
Status in livecd-rootfs source package in Oracular:
  New
Status in livecd-rootfs source package in Plucky:
  New

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