This bug was fixed in the package initramfs-tools - 0.142ubuntu23

---------------
initramfs-tools (0.142ubuntu23) noble; urgency=medium

  [ Daniel van Vugt ]
  * hooks/framebuffer: Only add simple/tiny framebuffer drivers. This is to
    limit the size of initrd when FRAMEBUFFER=y is soon enabled for desktop
    installations (LP: #1970069, #1869655).

  [ Benjamin Drung ]
  * autopkgtest: Increase QEMU timeouts on arm64/armhf
  * hooks/framebuffer:
    - Move adding framebuffer drivers into auto_add_modules
    - Drop looking in $MODULESDIR/initrd/ for kernel modules
    - Support MODULES=dep in framebuffer hook

initramfs-tools (0.142ubuntu22) noble; urgency=medium

  * autopkgtest: update systemd-udevd path from /lib to /usr/lib

initramfs-tools (0.142ubuntu21) noble; urgency=medium

  [ Benjamin Drung ]
  * configure_networking:
    - Increase minimum timeout to 30 seconds
    - Fix configuring BOOTIF when using iSCSI (LP: #2056187)
    - Set interface MTU if provided by the DHCP server (LP: #2056194)
    - log sleep durations before retries
  * Copy /etc/passwd into the initramfs to allow dhcpcd running as dhcpcd user
  * Replace obsolete pkg-config build-dependency by pkgconf

  [ Dan Bungert ]
  * Restore nvdimm and dax pmem-related modules (LP: #1981385)

 -- Benjamin Drung <bdr...@ubuntu.com>  Thu, 21 Mar 2024 10:57:54 +0100

** Changed in: initramfs-tools (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2056187

Title:
  fails to configure BOOTIF when using iscsi

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in open-iscsi package in Ubuntu:
  Invalid
Status in initramfs-tools source package in Focal:
  New
Status in open-iscsi source package in Focal:
  New
Status in initramfs-tools source package in Jammy:
  New
Status in open-iscsi source package in Jammy:
  New

Bug description:
  [ Impact ]

   * MAAS cannot PXE-boot a machine that has iSCSI disks

   * Focal is the default Ubuntu distribution deployed by MAAS, so we should
     back-port this to ensure it works out-of-the-box.

  [ Test Plan ]

   * reproducing this issue requires a machine with iSCSI disks (Cisco UCS 
Manager
   in the original report), and a MAAS controller (3.4 or better)

   * the issue can be observed by simply enlisting the machine in MAAS. It will
   fail to boot due to the missing BOOTIF configuration.

  [ Where problems could occur ]

   * the problematic code was an attempt to fix LP#2037202, so we should watch 
out
   for regressions.

  [ Original report ]

  we have a bad interaction between initramfs-tools and open-iscsi,
  resulting in the boot interface not being configured.

  when the iscsi has a static address, the script `local-top/iscsi` from
  open-iscsi creates a /run/net-$DEVICE.conf file for the iscsi
  interface. The existence of this file makes configure_networking()
  skip configuring the BOOTIF later due to this code in
  `scripts/functions`:

          for x in /run/net-"${DEVICE}".conf /run/net-*.conf ; do
              if [ -e "$x" ]; then
                  IP=done
                  break
              fi
          done

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2056187/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to