[Bug 850166] Re: ifquery does not respect mappings

Andrew Shadura bugzilla at tut.by
Thu Mar 29 18:19:14 UTC 2012


Change committed to the upstream development branch.

** Changed in: ifupdown (Ubuntu)
       Status: Triaged => In Progress

** Changed in: ifupdown (Ubuntu)
     Assignee: Steve Langasek (vorlon) => Andrew Shadura (andrewshadoura)

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

Title:
  ifquery does not respect mappings

Status in “ifupdown” package in Ubuntu:
  In Progress

Bug description:
  Given this interfaces file:

  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  auto eth0

  mapping eth0
    script /map

  iface FOO inet dhcp

  auto eth1
  iface eth1 inet dhcp

  And the script /map is just

  #!/bin/sh
  echo FOO

  
  I would expect ifquery --list to show:

  lo
  eth1
  eth0

  But instead it shows

  lo
  ignoring unknown interface eth0=eth0
  eth1

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




More information about the foundations-bugs mailing list