[Bug 1617484] [NEW] netcfg does not configure network with dash or bash as /bin/sh

Vinson Lee 1617484 at bugs.launchpad.net
Fri Aug 26 23:52:43 UTC 2016


Public bug reported:

I have a modified Ubuntu netboot image that uses dash instead of BusyBox
sh as /bin/sh in the initrd.

Starting with Ubuntu 16.04 Xenial, netcfg fails to automatically
configure the network interface during netboot in my configuration.
Instead I will be presented with a menu pop-up where I have to manually
select the network interface before the netboot can continue.

Since having dash as /bin/sh in the netboot initrd worked previously in
Ubuntu 15.10, I was able to bisect this issue to this upstream dash
commit between 0.5.7 and 0.5.8
(http://git.kernel.org/cgit/utils/dash/dash.git/commit/?id=46d3c1a614f11f0d40a7e73376359618ff07abcd).
However, since netcfg doesn't work with bash either, this could be a
netcfg bug that just happens to work with BusyBox sh.

I can reproduce this issue with the latest Ubuntu 16.10 Yakkety netboot
installer as well.

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

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

Title:
  netcfg does not configure network with dash or bash as /bin/sh

Status in netcfg package in Ubuntu:
  New

Bug description:
  I have a modified Ubuntu netboot image that uses dash instead of
  BusyBox sh as /bin/sh in the initrd.

  Starting with Ubuntu 16.04 Xenial, netcfg fails to automatically
  configure the network interface during netboot in my configuration.
  Instead I will be presented with a menu pop-up where I have to
  manually select the network interface before the netboot can continue.

  Since having dash as /bin/sh in the netboot initrd worked previously
  in Ubuntu 15.10, I was able to bisect this issue to this upstream dash
  commit between 0.5.7 and 0.5.8
  (http://git.kernel.org/cgit/utils/dash/dash.git/commit/?id=46d3c1a614f11f0d40a7e73376359618ff07abcd).
  However, since netcfg doesn't work with bash either, this could be a
  netcfg bug that just happens to work with BusyBox sh.

  I can reproduce this issue with the latest Ubuntu 16.10 Yakkety
  netboot installer as well.

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



More information about the foundations-bugs mailing list