[Bug 714904] Re: /etc/network/if-up.d/ifenslave is missing (installed under if-pre-up.d)
Stefan Bader
stefan.bader at canonical.com
Wed Jun 15 07:14:47 UTC 2011
One kind of "problem" I found was that the man page was not particularly
helpful. Though, at least with Natty, the files in
/usr/share/doc/ifenslave-2.6/... (README.Debian and examples/) are
consistent as far as I can see.
My configuration in Natty (which does not require a modprobe) looks
like:
/etc/network/interfaces:
auto bond0
iface bond0 inet static (though dhcp should work as well)
address x
netmask 255.255.255.0
gateway y
bond-slaves none
bond-mode active-backup
bond-miimon 100
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0
auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/714904
Title:
/etc/network/if-up.d/ifenslave is missing (installed under if-pre-
up.d)
Status in “ifenslave-2.6” package in Ubuntu:
Fix Released
Status in “ifenslave-2.6” source package in Maverick:
Fix Committed
Status in “ifenslave-2.6” source package in Natty:
Fix Committed
Bug description:
Binary package hint: ifenslave-2.6
Install of ifenslave-2.6 on both maverick and natty results in
creation of /etc/network/if-pre-up.d/ifenslave.dpkg-new file. This
file contains the primary bonding config handling script so bonding is
broken. It appears that it's believed that there's a user generated
file, which there isn't. The only files are the ones created by the
package install.
rob at home-dev /etc/network $ sudo dpkg --purge ifens
(Reading database ... 226190 files and directories currently installed.)
Removing ifenslave-2.6 ...
Purging configuration files for ifenslave-2.6 ...
Processing triggers for man-db ...
rob at home-dev /etc/network $ find . -name "*enslave*"
rob at home-dev /etc/network $ sudo aptitude install ifenslave-2.6
The following NEW packages will be installed:
ifenslave-2.6
0 packages upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/19.0 kB of archives. After unpacking 135 kB will be used.
Selecting previously deselected package ifenslave-2.6.
(Reading database ... 226180 files and directories currently installed.)
Unpacking ifenslave-2.6 (from .../ifenslave-2.6_1.1.0-15ubuntu2_amd64.deb) ...
Processing triggers for man-db ...
Setting up ifenslave-2.6 (1.1.0-15ubuntu2) ...
update-alternatives: using /sbin/ifenslave-2.6 to provide /sbin/ifenslave (ifenslave) in auto mode.
Preserving user changes to /etc/network/if-pre-up.d/ifenslave ...
rob at home-dev /etc/network $ find . -name "*enslave*"
./if-pre-up.d/ifenslave.dpkg-new
./if-pre-up.d/ifenslave
./if-post-down.d/ifenslave
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/714904/+subscriptions
More information about the foundations-bugs
mailing list