[Bug 1331547] [NEW] No network when PXE booting with CIFS (Live)

patpat 1331547 at bugs.launchpad.net
Wed Jun 18 16:21:06 UTC 2014


Public bug reported:

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

** Affects: casper (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: dia (Ubuntu) => casper (Ubuntu)

-- 
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 with CIFS (Live)

Status in “casper” package in Ubuntu:
  New

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