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

Guga tylderon at yahoo.com.br
Sun May 1 18:11:35 UTC 2016


The issues above are easily reproducible at the moment. It's a show-
stopper for CIFS netboot deployments. The needed fix is quite simple and
a proposed fix can already be found in this thread. Please look into
this.

Thanks!

P.S.: Could this bug be edited so that the confirmed newer affected
versions are added to it? The devs won't notice it if it only affects
casper.

-- 
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