[Bug 850166] [NEW] ifquery does not respect mappings
Clint Byrum
clint at fewbar.com
Wed Sep 14 16:54:44 UTC 2011
Public bug reported:
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
** Affects: ifupdown (Ubuntu)
Importance: Undecided
Assignee: Steve Langasek (vorlon)
Status: Confirmed
** Changed in: ifupdown (Ubuntu)
Assignee: (unassigned) => Steve Langasek (vorlon)
** Changed in: ifupdown (Ubuntu)
Status: New => Confirmed
--
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:
Confirmed
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