Public bug reported:

[Impact]
Remote-root installs (eg. / over iscsi and similar) where the configuration is 
simple, and no extra parameters are included on the kernel command-line (as 
opposed to MaaS specifying everything).

[Test case]
1) do an installation with /boot on a local disk and / and swap over a remote 
LUN (iSCSI is simple to do).
2) Update to initramfs-tools with isc-dhcp support.

[Regression potential]
This is in itself a fix for a regression found in initramfs-tools (0.125ubuntu4 
on yakkety, or 0.122ubuntu8.2 on xenial). Failure to boot on a remote root 
filesystem would constitue a regression.

--

I did a new install with /boot on /dev/sda, and everything else (/ and
swap) on an iSCSI LUN.

Booting this with initramfs-tools using ipconfig works without issues.

Booting this with initramfs-tools (0.125ubuntu4 on yakkety, or
0.122ubuntu8.2 on xenial) fails because no interface is specified.

This appears to be because ipconfig interprets "" as meaning to try
every interface until one works (or all fail), whereas calling dhclient
without an interface name simply returns a failure.

** Affects: initramfs-tools (Ubuntu)
     Importance: Critical
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
         Status: In Progress

** Affects: initramfs-tools (Ubuntu Xenial)
     Importance: Critical
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
         Status: In Progress

** Affects: initramfs-tools (Ubuntu Yakkety)
     Importance: Critical
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
         Status: In Progress

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Triaged

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => Critical

** Changed in: initramfs-tools (Ubuntu)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

** Also affects: initramfs-tools (Ubuntu Yakkety)
   Importance: Critical
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
       Status: Triaged

** Also affects: initramfs-tools (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: initramfs-tools (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: initramfs-tools (Ubuntu Xenial)
   Importance: Undecided => Critical

** Changed in: initramfs-tools (Ubuntu Xenial)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

** Changed in: initramfs-tools (Ubuntu Xenial)
       Status: Triaged => In Progress

** Changed in: initramfs-tools (Ubuntu Yakkety)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628306

Title:
  network booting fails for iscsi root if no ip is set

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to