[Bug 850166] Re: ifquery does not respect mappings

Andrew Shadura bugzilla at tut.by
Fri Apr 20 15:52:58 UTC 2012


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

-- 
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:
  Fix Committed

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