[Bug 1734677] [NEW] "lo" interface is added to /etc/network/interfaces by device search loop in casper-bottom/23networking

Lucien Murray-Pitts 1734677 at bugs.launchpad.net
Mon Nov 27 12:19:16 UTC 2017


Public bug reported:


The first "lo" interface is added by default to the /etc/network/interfaces.
However the second one is added by the for loop which searches through
  for device in /sys/class/net/*/device; do
    ...

Resulting in 
  #
  auto lo
  iface lo inet loopback
  auto lo
  iface lo inet dhcp

The later uses of "ifquery" dont correctly ignore "lo" despite being
passed the switch to do so.

Which later results in a crash out of ifup (from /var/log/syslog)
 dhclient[864]: Unsupported device type 772 for "lo"
 ifup[810]: Unsupported device type 772 for "lo"

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

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

Title:
  "lo" interface is added to /etc/network/interfaces by device search
  loop in casper-bottom/23networking

Status in casper package in Ubuntu:
  New

Bug description:
  
  The first "lo" interface is added by default to the /etc/network/interfaces.
  However the second one is added by the for loop which searches through
    for device in /sys/class/net/*/device; do
      ...

  Resulting in 
    #
    auto lo
    iface lo inet loopback
    auto lo
    iface lo inet dhcp

  The later uses of "ifquery" dont correctly ignore "lo" despite being
  passed the switch to do so.

  Which later results in a crash out of ifup (from /var/log/syslog)
   dhclient[864]: Unsupported device type 772 for "lo"
   ifup[810]: Unsupported device type 772 for "lo"

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



More information about the foundations-bugs mailing list