[Bug 1331547] Re: No network when PXE booting Live Ubuntu with CIFS

Bryan Quigley bryan.quigley at canonical.com
Tue Nov 21 20:03:06 UTC 2017


I've been trying to wrap my head around this feature (and why it's used
from the desktop CD) - what is the specific use case? More here:
https://community.ubuntu.com/t/anyone-use-cifs-root-in-live-session/1821

This is also relevant because we would need a way to confirm if this bug
is fixed or not.  Thanks!

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

Title:
  No network when PXE booting Live Ubuntu with CIFS

Status in casper package in Ubuntu:
  Confirmed

Bug description:
  the initrd.lz\initrd\scripts\casper script has a bug

  function
  do_netmount() {

  ...
      if [ "${NETBOOT}" != "nfs" ] && do_cifsmount ; then
          rc=0
      elif do_nfsmount ; then
          NETBOOT="nfs"
          export NETBOOT
          rc=0
      fi
  ...

  should be changed to
  ...
      if [ "${NETBOOT}" != "nfs" ] && do_cifsmount ; then
          export NETBOOT   ##<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
          rc=0
      elif do_nfsmount ; then
          NETBOOT="nfs"
          export NETBOOT
          rc=0
      fi
  ...

  If we use netboot=cifs the variable NETBOOT is not exported and that impacts
  initrd.lz\initrd\scripts\casper-bottom\23networking
  that ends up recreating with delay and errors /etc/network/interfaces.
  Next when Ubuntu boots Internet/Networking is not available.

  seen in 
   ubuntu-14.04-desktop-amd64.iso
   ubuntu-14.04-desktop-i386.iso

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1331547/+subscriptions



More information about the foundations-bugs mailing list