[Bug 850166] Re: ifquery does not respect mappings
Launchpad Bug Tracker
850166 at bugs.launchpad.net
Thu May 3 03:05:13 UTC 2012
This bug was fixed in the package ifupdown - 0.7~rc2+experimentalubuntu1
---------------
ifupdown (0.7~rc2+experimentalubuntu1) quantal; urgency=low
* Resynchronise with Debian experimental. Remaining changes:
- ifupdown.nw: Use 100 as default route metric unless an explicit metric
parameter is set in /etc/network/interface.
- If the /etc/NetworkManager/NetworkManager.conf file is present
but doesn't have the "ifupdown:managed" the previous upload instructed
the iniparser to return -1, which evaluates to TRUE. We instead instruct
it to return 0, as we shouldn't prevent ifupdown from managing the
interfaces in that case, as NM won't either. (LP: #281984)
- debian/postinst: If the loopback interface is missing from the config
in /etc/network/interfaces, add it on upgrade.
- Add jobs and hooks for upstart, don't install ifupdown's
/etc/init.d/networking (using net-base's for now)
ifupdown (0.7~rc2+experimental) experimental; urgency=low
* Try to bring hotplug interfaces up on initscript restart
action as well.
* Don't call ifup when there are no interfaces to bring up
(Closes: #670145).
ifupdown (0.7~rc1+experimental) experimental; urgency=low
* Prefer isc-dhcp-client to dhcp3-client (also closes: #422885).
* Let dhclient fail when no lease can be acquired (Closes: #420784).
* Raise command-line options priority over /etc/network/interfaces
(Closes: #657743).
* Prevent aliases and VLANs from putting the main interface down
(Closes: #656270).
* Make iproute2 calculate the broadcast address (LP: #924880).
* Shut udhcpc down correctly (Closes: #338348).
* Update the rules according to /run migration.
* Pass hardening flags from dpkg-buildflags (Closes: #661243).
* Implement ifquery interface (Closes: #568479).
- Make ifquery process mappings (LP: #850166).
- Ensure ifquery always has no_act turned on.
* Change --all behaviour:
- If ifup or ifquery is called with the --all option, if doesn't just
bring up all interfaces marked as "auto", but all interfaces of a
specified class, "auto" by default. For the most uses, this doesn't
change anything, but lets all the interfaces of a specific class to be
brought up or queried.
* Support cross-compilation, move Debian-specific things out of
the Makefile (Closes: #666084).
* Take networking init script over from netbase package.
- Add reload action which reconfigures all interfaces currently
configured.
- Add LSB Description field.
- Remove /usr from PATH.
- Merge ifupdown initscript in.
- Improve warning messages.
- Don't use redirection hacks when parsing /proc/mounts and /proc/swap.
- Document all supported subcommands.
- On start, try to configure hotplug interfaces if they seem to be ready.
Ignore errors if they fail to configure for some reason (for example,
if the interface happens to be renamed by udev before it's fully
configured).
- Override Lintian's false positives.
* Remove /etc/default/ifupdown.
* Call hook scripts when processing all interfaces:
- If ifupdown is called with the --all option, before or after doing
anything to the interfaces, it calls all the hook scripts (pre-up or
down) with IFACE set to "--all", LOGICAL set to the current class
specified by the --allow option (or "auto" if it's not set),
ADDRFAM="meta" and METHOD="none".
* Fix IPv6 issue on kFreeBSD.
* Update test suite.
* Improve manual pages.
* Bump Standards-Version to 3.9.3.
* Also closes: #535226:
- In 0.7~alpha5, "auto" method has been added.
-- Stephane Graber <stgraber at ubuntu.com> Wed, 02 May 2012 22:55:36 -0400
** Changed in: ifupdown (Ubuntu)
Status: Fix Committed => Fix Released
--
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 Released
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